LicenseDocumentUpdateDto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System;
  2. using System.Collections.Generic;
  3. using Abp.AutoMapper;
  4. using Abp.Application.Services.Dto;
  5. using System.ComponentModel.DataAnnotations;
  6. using AutoMapper;
  7. using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto;
  8. namespace ShwasherSys.CompanyInfo.LicenseInfo.Dto
  9. {
  10. /// <summary>
  11. /// 证照信息维护
  12. /// </summary>
  13. [AutoMapTo(typeof(LicenseDocument))]
  14. public class LicenseDocumentUpdateDto: EntityDto<int>
  15. {
  16. /// <summary>
  17. /// 证照编码
  18. /// </summary>
  19. [StringLength(LicenseDocument.NoMaxLength)]
  20. public string No { get; set; }
  21. /// <summary>
  22. /// 证照名称
  23. /// </summary>
  24. [StringLength(LicenseDocument.NameMaxLength)]
  25. public string Name { get; set; }
  26. /// <summary>
  27. /// 证照描述
  28. /// </summary>
  29. [StringLength(LicenseDocument.DescMaxLength)]
  30. public string Description { get; set; }
  31. /// <summary>
  32. /// 证照组
  33. /// </summary>
  34. [StringLength(LicenseDocument.TypeMaxLength)]
  35. public string LicenseGroup { get; set; }
  36. /// <summary>
  37. /// 证照类型
  38. /// </summary>
  39. [StringLength(LicenseDocument.TypeMaxLength)]
  40. public string LicenseType { get; set; }
  41. /// <summary>
  42. /// 附件路径
  43. /// </summary>
  44. [StringLength(LicenseDocument.PathMaxLength)]
  45. public string FilePath { get; set; }
  46. /// <summary>
  47. /// 过期时间
  48. /// </summary>
  49. public DateTime ExpireDate { get; set; }
  50. [IgnoreMap]
  51. public List<SysAttachFileCreateDto> AttachFiles { get; set; }
  52. }
  53. }