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_pl_template", DisableSyncStructure = true)]
public partial class CwPlTemplate {
///
/// 唯一编码
///
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
///
/// 会计期间
///
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; } = "";
///
/// 项目
///
[JsonProperty, Column(DbType = "varchar(100)")]
public string ACCTYPE { get; set; } = "";
///
/// 分公司代码
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; } = "";
///
/// 行次
///
[JsonProperty]
public int? LINENUM { get; set; }
///
/// 更改操作时间
///
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
///
/// 更改操作人gid
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; } = "";
///
/// 本月金额
///
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYBLC { get; set; } = 0M;
///
/// 本年累计余额
///
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTBLC { get; set; } = 0M;
///
/// 账套启用GID
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string STARTGID { get; set; } = "";
///
/// 模板名称
///
[JsonProperty, Column(DbType = "varchar(100)")]
public string TEMPLATE { get; set; } = "";
}
}