using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; using AutoMapper.Configuration.Annotations; using ContractService.CommonManager.AttachFiles; using ContractService.Configuration; namespace ContractService.LegalContract.Contract.Dto { [AutoMap(typeof(LegalContractNoteInfo))] public class ContractNoteDto : EntityDto { /// /// 项目信息 /// [MaxLength(IwbConsts.PrimaryKey)] public string ContractNo { get; set; } [Ignore] public string ContractName { get; set; } public string KeyPointNo { get; set; } [Ignore] public string KeyPointName { get; set; } /// /// 内容信息 /// [MaxLength(1000)] public string NoteContent { get; set; } public DateTime? CreationTime { get; set; } [Ignore] public string UserRealName { get; set; } [Ignore] public string UserImage { get; set; } public int NoteType { get; set; } } [AutoMap(typeof(LegalContractSupplementInfo))] public class SupplementDto : EntityDto { public string Code { get; set; } public string Name { get; set; } public string ContractNo { get; set; } public string KeyPointNo { get; set; } [Ignore] public string ContractName { get; set; } /// /// 内容信息 /// public string ContentInfo { get; set; } public DateTime? CreationTime { get; set; } [Ignore] public List AttachFiles { get; set; } } }