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 = "cw_item", DisableSyncStructure = true)]
public partial class CwItem {
///
/// 项目代码
///
[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
public string ITEMCODE { get; set; }
///
/// 项目名称
///
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
public string ITEMNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string STARTGID { get; set; } = "";
///
/// 分公司代码
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
///
/// 创建时间
///
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
///
/// 创建人gid
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
///
/// 删除时间
///
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? DELETETIME { get; set; }
///
/// 删除人
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string DELETEUSER { get; set; }
///
/// 财务软件代码
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string FINANCESOFTCODE { get; set; }
///
/// 唯一编码
///
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
///
/// 是否删除
///
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
///
/// 更改操作时间
///
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
///
/// 更改操作人gid
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
}
}