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.

81 lines
2.1 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 = "cw_sofp_template_detail", DisableSyncStructure = true)]
public partial class CwSofpTemplateDetail {
/// <summary>
/// 科目GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string ACCGID { get; set; } = "";
/// <summary>
/// 模板科目GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string LINKGID { get; set; } = "";
/// <summary>
/// 关联的行次号
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)", IsPrimary = true, IsNullable = false)]
public string LINKNUM { get; set; }
/// <summary>
/// 取数规则
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string ACCESS { get; set; } = "余额";
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; }
/// <summary>
/// 运算顺序
/// </summary>
[JsonProperty, Column(IsIdentity = true)]
public int LINENUM { get; set; }
/// <summary>
/// 更改操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 更改操作人gid
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; } = "";
/// <summary>
/// 运算符号
/// </summary>
[JsonProperty, Column(DbType = "varchar(1)")]
public string OPERATORS { get; set; } = "+";
/// <summary>
/// 期末余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTBLC { get; set; } = 0M;
/// <summary>
/// 年初余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYYEARBLC { get; set; } = 0M;
}
}