Files
Yi.Admin/Yi.Furion.Net6/Yi.Furion.Core/Rbac/Dtos/User/UserCreateInputVo.cs

29 lines
988 B
C#
Raw Normal View History

2023-04-15 22:44:33 +08:00
using System.Collections.Generic;
using Yi.Furion.Core.Rbac.Enums;
2023-04-13 21:12:06 +08:00
2023-04-15 22:44:33 +08:00
namespace Yi.Furion.Core.Rbac.Dtos.User
2023-04-13 21:12:06 +08:00
{
/// <summary>
/// User输入创建对象
/// </summary>
public class UserCreateInputVo
{
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;
public string Password { 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? 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;
2023-04-20 23:08:21 +08:00
public List<long>? RoleIds { get; set; }
public List<long>? PostIds { get; set; }
2023-04-13 21:12:06 +08:00
public long? DeptId { get; set; }
public bool State { get; set; } = true;
}
2023-04-20 23:08:21 +08:00
}