using MediatR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlexJobApi.Core
{
///
/// 查询运营端用户分页列表数据
///
[Resource([EnumResourceController.UserInfo])]
public class GetOperationUserInfosQuery : PagedListQuery, GetOperationUserInfosQueryResultItem>, IRequest>
{
///
/// 关键字
///
public string Keywords { get; set; }
}
///
/// 查询运营端用户分页列表数据-结果-项
///
public class GetOperationUserInfosQueryResultItem
{
public GetOperationUserInfosQueryResultItem()
{
Roles = [];
}
///
/// Id
///
public Guid Id { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 用户名
///
public string UserName { get; set; }
///
/// 手机号
///
public string PhoneNumber { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 角色
///
public List Roles { get; set; }
///
/// 状态
///
public EnumUserInfoStatus Status { get; set; }
}
///
/// 查询运营端用户分页列表数据-结果-项
///
public class GetOperationUserInfosQueryResultItemRole
{
///
/// 用户Id
///
[JsonIgnore]
public Guid UserInfoId { get; set; }
///
/// 角色Id
///
public Guid Id { get; set; }
///
/// 名称
///
public string Name { get; set; }
}
}