MaterialOutDTO.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Sugar.Enties
  7. {
  8. public class MaterialOutDTO
  9. {
  10. public string MaterialOutCode { get; set; }
  11. public string GroupName { get; set; }
  12. public string OutPersonName { get; set; }
  13. public string inputPersonName { get; set; }
  14. public string CheckPersonName { get; set; }
  15. private string _OutDate;
  16. public string OutDate
  17. {
  18. get
  19. {
  20. return _OutDate?.Substring(0, 10);
  21. }
  22. set
  23. {
  24. _OutDate = value;
  25. }
  26. }
  27. private string _InputDate;
  28. public string InputDate
  29. {
  30. get
  31. {
  32. return _InputDate?.Substring(0, 10);
  33. }
  34. set
  35. {
  36. _InputDate = value;
  37. }
  38. }
  39. private string _CheckDate;
  40. public string CheckDate
  41. {
  42. get
  43. {
  44. return _CheckDate?.Substring(0, 10);
  45. }
  46. set
  47. {
  48. _CheckDate = value;
  49. }
  50. }
  51. public string ContractName { get; set; }
  52. public int Status { get; set; }
  53. public string StatusName
  54. {
  55. get
  56. {
  57. Type type = typeof(SimpleCheckState);
  58. return type.GetEnumName(Status);
  59. }
  60. }
  61. public string SupplierName { get; set; }
  62. }
  63. }