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.

126 lines
3.6 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 = "ct_initial_balance", DisableSyncStructure = true)]
public partial class CtInitialBalance {
/// <summary>
/// 科目GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string ACCGID { get; set; } = "";
/// <summary>
/// 币别
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)]
public string CURRENCY { get; set; } = "RMB";
/// <summary>
/// 启用账套GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string STARTGID { get; set; } = "";
/// <summary>
/// 日记账_启用期初本位币余额
/// </summary>
[JsonProperty, Column(Name = "AMTYEARBLC_D", DbType = "numeric(18,2)")]
public decimal? AMTYEARBLCD { get; set; } = 0M;
/// <summary>
/// 分公司代码
/// </summary>
[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, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <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(Name = "QTYYEARBLC_B", DbType = "numeric(18,2)")]
public decimal? QTYYEARBLCB { get; set; } = 0M;
/// <summary>
/// 对账_调整后原币金额
/// </summary>
[JsonProperty, Column(Name = "QTYYEARBLC_BH", DbType = "numeric(18,2)")]
public decimal? QTYYEARBLCBH { get; set; } = 0M;
/// <summary>
/// 日记账_启用期初原币余额
/// </summary>
[JsonProperty, Column(Name = "QTYYEARBLC_D", DbType = "numeric(18,2)")]
public decimal? QTYYEARBLCD { get; set; } = 0M;
/// <summary>
/// 日记账_调整后原币金额
/// </summary>
[JsonProperty, Column(Name = "QTYYEARBLC_DH", DbType = "numeric(18,2)")]
public decimal? QTYYEARBLCDH { get; set; } = 0M;
/// <summary>
/// 对账_减企付银未付
/// </summary>
[JsonProperty, Column(Name = "QTYYEARCR_B", DbType = "numeric(18,2)")]
public decimal? QTYYEARCRB { get; set; } = 0M;
/// <summary>
/// 日记账_加银收企未收
/// </summary>
[JsonProperty, Column(Name = "QTYYEARCR_D", DbType = "numeric(18,2)")]
public decimal? QTYYEARCRD { get; set; } = 0M;
/// <summary>
/// 对账_加企收银未收
/// </summary>
[JsonProperty, Column(Name = "QTYYEARDR_B", DbType = "numeric(18,2)")]
public decimal? QTYYEARDRB { get; set; } = 0M;
/// <summary>
/// 日记账_减银付企未付
/// </summary>
[JsonProperty, Column(Name = "QTYYEARDR_D", DbType = "numeric(18,2)")]
public decimal? QTYYEARDRD { get; set; } = 0M;
}
}