LegalContractNoteInfo.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using Abp.Domain.Entities.Auditing;
  4. using ContractService.Authorization.Users;
  5. using ContractService.Configuration;
  6. namespace ContractService.LegalContract
  7. {
  8. /// <summary>
  9. /// 合同备注信息
  10. /// </summary>
  11. [Table("Ls_LegalContractNotes")]
  12. public class LegalContractNoteInfo : CreationAuditedEntity<long,User>
  13. {
  14. /// <summary>
  15. /// 合同信息
  16. /// </summary>
  17. [MaxLength(IwbConsts.PrimaryKey)]
  18. public string ContractNo { get; set; }
  19. [ForeignKey("ContractNo")]
  20. public LegalContractInfo ContractInfo { get; set; }
  21. /// <summary>
  22. /// 关键点信息
  23. /// </summary>
  24. [MaxLength(IwbConsts.PrimaryKey)]
  25. public string KeyPointNo { get; set; }
  26. [ForeignKey("KeyPointNo")]
  27. public LegalContractKeyPointInfo KeyPointInfo { get; set; }
  28. /// <summary>
  29. /// 备注类型
  30. /// </summary>
  31. public int NoteType { get; set; }
  32. /// <summary>
  33. /// 内容信息
  34. /// </summary>
  35. [MaxLength(1000)]
  36. public string NoteContent { get; set; }
  37. [MaxLength(1000)]
  38. public string Remark { get; set; }
  39. }
  40. }