LegalCaseNoteInfo.cs 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.LegalCase
  7. {
  8. /// <summary>
  9. /// 合同备注信息
  10. /// </summary>
  11. [Table("Ls_LegalCaseNotes")]
  12. public class LegalCaseNoteInfo : CreationAuditedEntity<long, User>
  13. {
  14. /// <summary>
  15. /// 项目信息
  16. /// </summary>
  17. [MaxLength(IwbConsts.PrimaryKey)]
  18. public string CaseNo { get; set; }
  19. [ForeignKey("CaseNo")]
  20. public LegalCaseInfo CaseInfo { get; set; }
  21. /// <summary>
  22. /// 内容信息
  23. /// </summary>
  24. [MaxLength(1000)]
  25. public string NoteContent { get; set; }
  26. /// <summary>
  27. /// 备注类型
  28. /// </summary>
  29. public int NoteType { get; set; }
  30. [MaxLength(1000)]
  31. public string Remark { get; set; }
  32. }
  33. }