SemiProductUpdateDto.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.ProductInfo;
  6. using AutoMapper;
  7. namespace ShwasherSys.ProductInfo.Dto
  8. {
  9. [AutoMapTo(typeof(SemiProducts))]
  10. public class SemiProductUpdateDto: EntityDto<string>
  11. {
  12. [StringLength(SemiProducts.SemiProductNameMaxLength)]
  13. public string SemiProductName { get; set; }
  14. [StringLength(SemiProducts.ModelMaxLength)]
  15. public string Model { get; set; }
  16. [StringLength(SemiProducts.MaterialMaxLength)]
  17. public string Material { get; set; }
  18. [StringLength(SemiProducts.ProductDescMaxLength)]
  19. public string ProductDesc { get; set; }
  20. [StringLength(SemiProducts.SurfaceColorMaxLength)]
  21. public string SurfaceColor { get; set; }
  22. [StringLength(SemiProducts.RigidityMaxLength)]
  23. public string Rigidity { get; set; }
  24. public DateTime? TimeCreated { get; set; }
  25. public DateTime? TimeLastMod { get; set; }
  26. [StringLength(SemiProducts.UserIDLastModMaxLength)]
  27. public string UserIDLastMod { get; set; }
  28. public int Sequence { get; set; }
  29. [StringLength(SemiProducts.IsLockMaxLength)]
  30. public string IsLock { get; set; }
  31. [StringLength(SemiProducts.IsStandardMaxLength)]
  32. public string IsStandard { get; set; }
  33. [StringLength(SemiProducts.PartNoMaxLength)]
  34. public string PartNo { get; set; }
  35. [IgnoreMap]
  36. public string FileInfo { get; set; }
  37. [IgnoreMap]
  38. public string FileName { get; set; }
  39. [IgnoreMap]
  40. public string FileExt { get; set; }
  41. public decimal? TranUnitValue { get; set; }
  42. public string SpecialDesc { get; set; }
  43. public string ModelNo { get; set; }
  44. public string MaterialNo { get; set; }
  45. public string SurfaceColorNo { get; set; }
  46. public string RigidityNo { get; set; }
  47. public string SpecialNo { get; set; }
  48. public string PrevProductNo { get; set; }
  49. }
  50. }