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.

114 lines
2.8 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", DisableSyncStructure = true)]
public partial class CwSofpTemplate {
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 会计期间
/// </summary>
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; } = "";
/// <summary>
/// 资产
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string ACCTYPE { get; set; } = "";
/// <summary>
/// 负债和所有者权益(或股东权益)
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string ACCTYPE2 { get; set; } = "";
/// <summary>
/// 分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; } = "";
/// <summary>
/// 行次2
/// </summary>
[JsonProperty]
public int? LINENUM { get; set; }
/// <summary>
/// 行次1
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string LINENUM1 { get; set; } = "";
/// <summary>
/// 行次2
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string LINENUM2 { 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 = "numeric(18,2)")]
public decimal? QTYLASTBLC { get; set; } = 0M;
/// <summary>
/// 期末余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTBLC2 { get; set; } = 0M;
/// <summary>
/// 年初余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYYEARBLC { get; set; } = 0M;
/// <summary>
/// 年初余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYYEARBLC2 { get; set; } = 0M;
/// <summary>
/// 账套启用GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string STARTGID { get; set; } = "";
/// <summary>
/// 模板名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string TEMPLATE { get; set; } = "";
}
}