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.

309 lines
7.9 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_genleg_accitems", DisableSyncStructure = true)]
public partial class CwGenlegAccitems {
/// <summary>
/// 核算客户
/// </summary>
[JsonProperty, Column(DbType = "varchar(250)", IsPrimary = true, IsNullable = false)]
public string CORPACC { get; set; } = "";
/// <summary>
/// 币别
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)]
public string CURRENCY { get; set; } = "RMB";
/// <summary>
/// 核算部门
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
public string DEPTACC { get; set; } = "";
/// <summary>
/// 核算人员
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
public string EMPLACC { get; set; } = "";
/// <summary>
/// 核算项目
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
public string ITEMACC { get; set; } = "";
/// <summary>
/// 科目GID(cw_accitems)
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string LINKGID { get; set; }
/// <summary>
/// 月
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)", IsPrimary = true, IsNullable = false)]
public string MONTH { get; set; }
/// <summary>
/// 账套启用GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string STARTGID { get; set; } = "";
/// <summary>
/// 年
/// </summary>
[JsonProperty, Column(DbType = "varchar(4)", IsPrimary = true, IsNullable = false)]
public string YEAR { get; set; }
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; } = "";
/// <summary>
/// RMB本月余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTBLC { get; set; } = 0M;
/// <summary>
/// RMB本月贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTCR { get; set; } = 0M;
/// <summary>
/// RMB本月借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTDR { get; set; } = 0M;
/// <summary>
/// RMB累计余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTLASTBLC { get; set; } = 0M;
/// <summary>
/// RMB累计贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTLASTCR { get; set; } = 0M;
/// <summary>
/// RMB累计借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTLASTDR { get; set; } = 0M;
/// <summary>
/// RMB年初余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTYEARBLC { get; set; } = 0M;
/// <summary>
/// RMB年初贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTYEARCR { get; set; } = 0M;
/// <summary>
/// RMB年初借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTYEARDR { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人gid
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[JsonProperty]
public DateTime? DELETETIME { get; set; }
/// <summary>
/// 删除人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string DELETEUSER { get; set; }
/// <summary>
/// USD本月余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYBLC { get; set; } = 0M;
/// <summary>
/// USD本月贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYCR { get; set; } = 0M;
/// <summary>
/// USD本月借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYDR { get; set; } = 0M;
/// <summary>
/// USD累计余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYLASTBLC { get; set; } = 0M;
/// <summary>
/// USD累计贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYLASTCR { get; set; } = 0M;
/// <summary>
/// USD累计借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYLASTDR { get; set; } = 0M;
/// <summary>
/// USD年初余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYYEARBLC { get; set; } = 0M;
/// <summary>
/// USD年初贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYYEARCR { get; set; } = 0M;
/// <summary>
/// USD年初借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYYEARDR { get; set; } = 0M;
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 是否删除
/// </summary>
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
/// <summary>
/// 是否启用
/// </summary>
[JsonProperty]
public bool? ISENABLE { get; set; } = false;
[JsonProperty]
public bool? IsInitialEntry { get; set; } = false;
/// <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? PFACR { get; set; } = 0M;
/// <summary>
/// 损益类科目本年累计数借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? PFADR { get; set; } = 0M;
/// <summary>
/// 本月余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYBLC { get; set; } = 0M;
/// <summary>
/// 本月贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYCR { get; set; } = 0M;
/// <summary>
/// 本月借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYDR { get; set; } = 0M;
/// <summary>
/// 累计余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTBLC { get; set; } = 0M;
/// <summary>
/// 累计贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTCR { get; set; } = 0M;
/// <summary>
/// 累计借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYLASTDR { 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? QTYYEARCR { get; set; } = 0M;
/// <summary>
/// 年初借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYYEARDR { get; set; } = 0M;
}
}