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_sofp_template_detail", DisableSyncStructure = true)] public partial class CwSofpTemplateDetail { /// /// 科目GID /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string ACCGID { get; set; } = ""; /// /// 模板科目GID /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string LINKGID { get; set; } = ""; /// /// 关联的行次号 /// [JsonProperty, Column(DbType = "varchar(10)", IsPrimary = true, IsNullable = false)] public string LINKNUM { get; set; } /// /// 取数规则 /// [JsonProperty, Column(DbType = "varchar(10)")] public string ACCESS { get; set; } = "余额"; [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string GID { get; set; } /// /// 运算顺序 /// [JsonProperty, Column(IsIdentity = true)] 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 = "varchar(1)")] public string OPERATORS { get; set; } = "+"; /// /// 期末余额 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? QTYLASTBLC { get; set; } = 0M; /// /// 年初余额 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? QTYYEARBLC { get; set; } = 0M; } }