UserDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Model.Dto
  8. {
  9. public class UserDto : BaseDto
  10. {
  11. public UserDto()
  12. {
  13. }
  14. private int id;
  15. public int Id
  16. {
  17. get { return id; }
  18. set { id = value; OnPropertyChanged(); }
  19. }
  20. /// <summary>
  21. /// Desc:
  22. /// Default:
  23. /// Nullable:True
  24. /// </summary>
  25. private string userName;
  26. public string UserName
  27. {
  28. get { return userName; }
  29. set { userName = value; OnPropertyChanged(); }
  30. }
  31. private string password;
  32. public string Password
  33. {
  34. get { return password; }
  35. set { password = value; OnPropertyChanged(); }
  36. }
  37. private string description;
  38. public string Description
  39. {
  40. get { return description; }
  41. set { description = value; OnPropertyChanged(); }
  42. }
  43. }
  44. }