RoleDto.cs 755 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Model.Dto
  7. {
  8. public class RoleDto : BaseDto
  9. {
  10. public RoleDto()
  11. {
  12. }
  13. private int id;
  14. public int Id
  15. {
  16. get { return id; }
  17. set { id = value; OnPropertyChanged(); }
  18. }
  19. private string name;
  20. public string Name
  21. {
  22. get { return name; }
  23. set { name = value; OnPropertyChanged(); }
  24. }
  25. public string description;
  26. public string Description
  27. {
  28. get { return description; }
  29. set { description = value; OnPropertyChanged(); }
  30. }
  31. }
  32. }