using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { [JsonObject(MemberSerialization.OptIn), Table(Name = "info_client_contract", DisableSyncStructure = true)] public partial class InfoClientContract { /// /// 惟一编号 /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 截止日期 /// [JsonProperty] public DateTime? CANCELDATE { get; set; } /// /// (本)负责人 /// [JsonProperty, Column(DbType = "varchar(20)")] public string CHIEF { get; set; } /// /// 合同号 /// [JsonProperty, Column(DbType = "varchar(100)")] public string CONTRACTNO { get; set; } /// /// 所属分公司代码 /// [JsonProperty, Column(DbType = "varchar(36)")] public string CORPID { get; set; } /// /// 创建时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? CREATETIME { get; set; } /// /// 创建人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string CREATEUSER { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string DEPTGID { get; set; } = ""; /// /// 客户关联id /// [JsonProperty, Column(DbType = "varchar(100)")] public string LINKID { get; set; } /// /// 最后一次操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? MODIFIEDTIME { get; set; } /// /// 最后一次操作人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string REMARK { get; set; } /// /// 签订日期 /// [JsonProperty] public DateTime? SIGNINGDATE { get; set; } /// /// 起始日期 /// [JsonProperty] public DateTime? STARTDATE { get; set; } } }