SysUserDto.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. namespace Dto
  2. {
  3. public class SysUserDto
  4. {
  5. public long userId { get; set; }
  6. public string? username { get; set; }
  7. public string? nickname { get; set; }
  8. public string? name { get; set; }
  9. public string? email { get; set; }
  10. public string? remark { get; set; }
  11. public string? phone { get; set; }
  12. public string? password { get; set; }
  13. /// <summary>
  14. /// 帐号状态(0正常 1停用)
  15. /// </summary>
  16. public int status { get; set; }
  17. /// <summary>
  18. /// 部门Id
  19. /// </summary>
  20. public long deptId { get; set; }
  21. /// <summary>
  22. /// 角色id集合
  23. /// </summary>
  24. public long[] role { get; set; }
  25. /// <summary>
  26. /// 岗位集合
  27. /// </summary>
  28. public int[] post { get; set; }
  29. }
  30. public class SysUserQueryDto
  31. {
  32. public string? username { get; set; }
  33. public string? nickname { get; set; }
  34. public string? name { get; set; }
  35. public string? phone { get; set; }
  36. }
  37. }