StandardDetailUpdateDto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace ShwasherSys.ProductInfo.Dto
  6. {
  7. [AutoMapTo(typeof(StandardDetail))]
  8. public class StandardDetailUpdateDto: EntityDto<int>
  9. {
  10. public int StandardId { get; set; }
  11. [Required]
  12. [StringLength(StandardDetail.SpecsMaxLength)]
  13. public string Specs { get; set; }
  14. [Required]
  15. [StringLength(StandardDetail.StandardNameMaxLength)]
  16. public string StandardName { get; set; }
  17. [StringLength(StandardDetail.NumMaxLength)]
  18. public string InnerDiameter1 { get; set; }
  19. [StringLength(StandardDetail.NumMaxLength)]
  20. public string InnerDiameter2 { get; set; }
  21. [StringLength(StandardDetail.NumMaxLength)]
  22. public string OutDiameter1 { get; set; }
  23. [StringLength(StandardDetail.NumMaxLength)]
  24. public string OutDiameter2 { get; set; }
  25. [StringLength(StandardDetail.NumMaxLength)]
  26. public string Thickness1 { get; set; }
  27. [StringLength(StandardDetail.NumMaxLength)]
  28. public string Thickness2 { get; set; }
  29. [StringLength(StandardDetail.NumMaxLength)]
  30. public string Height1 { get; set; }
  31. [StringLength(StandardDetail.NumMaxLength)]
  32. public string Height2 { get; set; }
  33. [StringLength(StandardDetail.NumMaxLength)]
  34. public string InnerChamfer1 { get; set; }
  35. [StringLength(StandardDetail.NumMaxLength)]
  36. public string InnerChamfer2 { get; set; }
  37. [StringLength(StandardDetail.NumMaxLength)]
  38. public string OutChamfer1 { get; set; }
  39. [StringLength(StandardDetail.NumMaxLength)]
  40. public string OutChamfer2 { get; set; }
  41. [StringLength(StandardDetail.NumMaxLength)]
  42. public string ThousandWeigh { get; set; }
  43. }
  44. }