Files
Yi.Admin/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/Dtos/User/UserGetOutputDto.cs

35 lines
1.2 KiB
C#
Raw Normal View History

2023-12-11 09:55:12 +08:00
using Volo.Abp.Application.Dtos;
using Yi.Framework.Rbac.Application.Contracts.Dtos.Dept;
using Yi.Framework.Rbac.Application.Contracts.Dtos.Post;
using Yi.Framework.Rbac.Application.Contracts.Dtos.Role;
using Yi.Framework.Rbac.Domain.Shared.Enums;
2023-04-13 21:12:06 +08:00
2023-12-11 09:55:12 +08:00
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.User
2023-04-13 21:12:06 +08:00
{
2023-12-11 09:55:12 +08:00
public class UserGetOutputDto : EntityDto<Guid>
2023-04-13 21:12:06 +08:00
{
2023-04-20 23:08:21 +08:00
public string? Name { get; set; }
2023-04-13 21:12:06 +08:00
public int? Age { get; set; }
public string UserName { get; set; } = string.Empty;
2023-04-20 23:08:21 +08:00
public string? Icon { get; set; }
public string? Nick { get; set; }
public string? Email { get; set; }
public string? Ip { get; set; }
public string? Address { get; set; }
2023-04-13 21:12:06 +08:00
public long? Phone { get; set; }
2023-04-20 23:08:21 +08:00
public string? Introduction { get; set; }
public string? Remark { get; set; }
2023-04-13 21:12:06 +08:00
public SexEnum Sex { get; set; } = SexEnum.Unknown;
public bool State { get; set; }
public DateTime CreationTime { get; set; }
2023-12-11 09:55:12 +08:00
public Guid? DeptId { get; set; }
2023-04-13 21:12:06 +08:00
2023-12-11 09:55:12 +08:00
public DeptGetOutputDto? Dept { get; set; }
2023-04-13 21:12:06 +08:00
2023-12-11 09:55:12 +08:00
public List<PostGetListOutputDto>? Posts { get; set; }
2023-04-13 21:12:06 +08:00
2023-12-11 09:55:12 +08:00
public List<RoleGetListOutputDto>? Roles { get; set; }
2023-04-13 21:12:06 +08:00
}
}