LegalContractKeyPointDto.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. using System;
  2. using System.Collections.Generic;
  3. using Abp.AutoMapper;
  4. using Abp.Application.Services.Dto;
  5. using AutoMapper.Configuration.Annotations;
  6. using ContractService.CommonManager.AttachFiles;
  7. namespace ContractService.LegalContract.KeyPoint.Dto
  8. {
  9. /// <summary>
  10. /// 合同关键点
  11. /// </summary>
  12. [AutoMapTo(typeof(LegalContractKeyPointInfo)),AutoMapFrom(typeof(LegalContractKeyPointInfo))]
  13. public class LegalContractKeyPointDto: EntityDto<string>
  14. {
  15. /// <summary>
  16. /// 父关键点
  17. /// </summary>
  18. public string ParentNo { get; set; }
  19. /// <summary>
  20. /// 关键点名称
  21. /// </summary>
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 标签
  25. /// </summary>
  26. public string Tags { get; set; }
  27. /// <summary>
  28. /// 关键点描述
  29. /// </summary>
  30. public string Description { get; set; }
  31. /// <summary>
  32. /// 关键点等级
  33. /// </summary>
  34. public int KeyPointLevel { get; set; }
  35. /// <summary>
  36. /// 关键点状态
  37. /// </summary>
  38. public int KeyPointState { get; set; }
  39. /// <summary>
  40. /// 过期日期
  41. /// </summary>
  42. public DateTime? ExpireDate { get; set; }
  43. /// <summary>
  44. /// 开始报警日期
  45. /// </summary>
  46. public DateTime? AlarmDate { get; set; }
  47. public DateTime? ExecuteDate { get; set; }
  48. /// <summary>
  49. /// 父关键点执行后多少天过期
  50. /// </summary>
  51. public int ExpireDay { get; set; }
  52. /// <summary>
  53. /// 父关键点执行后多少天报警
  54. /// </summary>
  55. public int AlarmDay { get; set; }
  56. /// <summary>
  57. /// 路径
  58. /// </summary>
  59. public string KeyPointPath { get; set; }
  60. /// <summary>
  61. /// 合同信息
  62. /// </summary>
  63. public string ContractNo { get; set; }
  64. [Ignore]
  65. public string StaffNo { get; set; }
  66. [Ignore]
  67. public string StaffName { get; set; }
  68. [Ignore]
  69. public string StaffOrgName { get; set; }
  70. }
  71. public class KeyPointOrgDto : EntityDto<string>
  72. {
  73. public string StaffNo { get; set; }
  74. public string StaffOrgName { get; set; }
  75. }
  76. [AutoMap(typeof(LegalContractSupplementInfo))]
  77. public class KpSupplementDto : EntityDto<string>
  78. {
  79. public string Code { get; set; }
  80. public string Name { get; set; }
  81. public string ContractNo { get; set; }
  82. public string KeyPointNo { get; set; }
  83. [Ignore]
  84. public string ContractName { get; set; }
  85. /// <summary>
  86. /// 内容信息
  87. /// </summary>
  88. public string ContentInfo { get; set; }
  89. public DateTime? CreationTime { get; set; }
  90. [Ignore]
  91. public List<AttachFileCreateDto> AttachFiles { get; set; }
  92. }
  93. }