ProductDto.cs 515 B

12345678910111213141516171819202122232425
  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 ProductDto:BaseDto
  9. {
  10. private int id;
  11. public int Id
  12. {
  13. get { return id; }
  14. set { id = value; OnPropertyChanged(); }
  15. }
  16. private string name;
  17. public string Name
  18. {
  19. get { return name; }
  20. set { name = value; OnPropertyChanged(); }
  21. }
  22. }
  23. }