using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using ContractService.Authorization.Users;
using ContractService.Configuration;
namespace ContractService.LegalContract
{
///
/// 合同备注信息
///
[Table("Ls_LegalContractNotes")]
public class LegalContractNoteInfo : CreationAuditedEntity
{
///
/// 合同信息
///
[MaxLength(IwbConsts.PrimaryKey)]
public string ContractNo { get; set; }
[ForeignKey("ContractNo")]
public LegalContractInfo ContractInfo { get; set; }
///
/// 关键点信息
///
[MaxLength(IwbConsts.PrimaryKey)]
public string KeyPointNo { get; set; }
[ForeignKey("KeyPointNo")]
public LegalContractKeyPointInfo KeyPointInfo { get; set; }
///
/// 备注类型
///
public int NoteType { get; set; }
///
/// 内容信息
///
[MaxLength(1000)]
public string NoteContent { get; set; }
[MaxLength(1000)]
public string Remark { get; set; }
}
}