RecipeProfile.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using Prism.Mvvm;
  2. using System;
  3. namespace SKMC.Api.Recipe.Model
  4. {
  5. public class RecipeProfile : BindableBase
  6. {
  7. private long _id;
  8. public long Id
  9. {
  10. get { return _id; }
  11. set { _id = value; }
  12. }
  13. private string _code;
  14. public string Code
  15. {
  16. get { return _code; }
  17. set { _code = value; RaisePropertyChanged(); }
  18. }
  19. private string _name;
  20. public string Name
  21. {
  22. get { return _name; }
  23. set { _name = value; RaisePropertyChanged(); }
  24. }
  25. private string _productCode;
  26. public string ProductCode
  27. {
  28. get { return _productCode; }
  29. set { _productCode = value; RaisePropertyChanged(); }
  30. }
  31. private string _note;
  32. public string Note
  33. {
  34. get { return _note; }
  35. set { _note = value; }
  36. }
  37. private DateTime _createTime;
  38. public DateTime CreateTime
  39. {
  40. get { return _createTime; }
  41. set { _createTime = value; }
  42. }
  43. private DateTime _updateTime;
  44. public DateTime UpdateTime
  45. {
  46. get { return _updateTime; }
  47. set { _updateTime = value; }
  48. }
  49. }
  50. }