You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.3 KiB
C#

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 {
/// <summary>
/// 惟一编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 截止日期
/// </summary>
[JsonProperty]
public DateTime? CANCELDATE { get; set; }
/// <summary>
/// (本)负责人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CHIEF { get; set; }
/// <summary>
/// 合同号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string CONTRACTNO { get; set; }
/// <summary>
/// 所属分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string DEPTGID { get; set; } = "";
/// <summary>
/// 客户关联id
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string LINKID { get; set; }
/// <summary>
/// 最后一次操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次操作人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string REMARK { get; set; }
/// <summary>
/// 签订日期
/// </summary>
[JsonProperty]
public DateTime? SIGNINGDATE { get; set; }
/// <summary>
/// 起始日期
/// </summary>
[JsonProperty]
public DateTime? STARTDATE { get; set; }
}
}