| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using Abp.Domain.Entities.Auditing;
- using ContractService.Authorization.Users;
- using ContractService.Configuration;
- namespace ContractService.LegalContract
- {
- /// <summary>
- /// 补充合同
- /// </summary>
- [Table("Ls_LegalContractSupplements")]
- public class LegalContractSupplementInfo : CreationAuditedEntity<string, User>
- {
- /// <summary>
- /// 补充合同编号
- /// </summary>
- [MaxLength(50)]
- public string Code { get; set; }
- /// <summary>
- /// 补充合同名称
- /// </summary>
- [MaxLength(50)]
- public string Name { get; set; }
- /// <summary>
- /// 合同信息
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string ContractNo { get; set; }
- [ForeignKey("ContractNo")]
- public LegalContractInfo ContractInfo { get; set; }
- /// <summary>
- /// 关键点信息
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string KeyPointNo { get; set; }
- [ForeignKey("KeyPointNo")]
- public LegalContractKeyPointInfo KeyPointInfo { get; set; }
- /// <summary>
- /// 内容信息
- /// </summary>
- [NotMapped] //不映射到数据库,内容存储到 LegalContractContentInfo
- public string ContentInfo { get; set; }
- [MaxLength(1000)]
- public string Remark { get; set; }
- }
- }
|