ContractNoteDto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using Abp.Application.Services.Dto;
  5. using Abp.AutoMapper;
  6. using AutoMapper.Configuration.Annotations;
  7. using ContractService.CommonManager.AttachFiles;
  8. using ContractService.Configuration;
  9. namespace ContractService.LegalContract.Contract.Dto
  10. {
  11. [AutoMap(typeof(LegalContractNoteInfo))]
  12. public class ContractNoteDto : EntityDto<long>
  13. {
  14. /// <summary>
  15. /// 项目信息
  16. /// </summary>
  17. [MaxLength(IwbConsts.PrimaryKey)]
  18. public string ContractNo { get; set; }
  19. [Ignore]
  20. public string ContractName { get; set; }
  21. public string KeyPointNo { get; set; }
  22. [Ignore]
  23. public string KeyPointName { get; set; }
  24. /// <summary>
  25. /// 内容信息
  26. /// </summary>
  27. [MaxLength(1000)]
  28. public string NoteContent { get; set; }
  29. public DateTime? CreationTime { get; set; }
  30. [Ignore]
  31. public string UserRealName { get; set; }
  32. [Ignore]
  33. public string UserImage { get; set; }
  34. public int NoteType { get; set; }
  35. }
  36. [AutoMap(typeof(LegalContractSupplementInfo))]
  37. public class SupplementDto : EntityDto<string>
  38. {
  39. public string Code { get; set; }
  40. public string Name { get; set; }
  41. public string ContractNo { get; set; }
  42. public string KeyPointNo { get; set; }
  43. [Ignore]
  44. public string ContractName { get; set; }
  45. /// <summary>
  46. /// 内容信息
  47. /// </summary>
  48. public string ContentInfo { get; set; }
  49. public DateTime? CreationTime { get; set; }
  50. [Ignore]
  51. public List<AttachFileCreateDto> AttachFiles { get; set; }
  52. }
  53. }