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.

159 lines
3.7 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_bank_statement", DisableSyncStructure = true)]
public partial class CtBankStatement {
[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>
/// 科目GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string ACCGID { get; set; } = "";
/// <summary>
/// 结算号
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string BILLNO { get; set; } = "";
/// <summary>
/// 余额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? BLC { get; set; } = 0M;
/// <summary>
/// 对账GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CHECKINGGID { get; set; } = "";
/// <summary>
/// 分公司GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; } = "";
/// <summary>
/// 银行贷方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? CR { get; set; } = 0M;
/// <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(2)")]
public string DC { get; set; } = "";
/// <summary>
/// 银行借方
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? DR { get; set; } = 0M;
/// <summary>
/// 经手人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string ENTERED { get; set; } = "";
/// <summary>
/// 摘要
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string EXPLAN { get; set; } = "";
/// <summary>
/// 汇率
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,5)")]
public decimal? FCYEXRATE { get; set; } = 0M;
/// <summary>
/// 外币编号RMB
/// </summary>
[JsonProperty, Column(DbType = "varchar(8)")]
public string FCYNO { get; set; } = "";
/// <summary>
/// 是否导入的数据
/// </summary>
[JsonProperty]
public bool? ISIMPORT { get; set; } = false;
/// <summary>
/// 是否期初
/// </summary>
[JsonProperty]
public bool? ISINITIAL { get; set; } = false;
/// <summary>
/// 当天序号
/// </summary>
[JsonProperty, Column(InsertValueSql = "")]
public int? ITEMNO { 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]
public int? SETTLETYPE { get; set; } = 0;
/// <summary>
/// 账套启用GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string STARTGID { get; set; } = "";
/// <summary>
/// 结算日期
/// </summary>
[JsonProperty]
public DateTime? VOUDATE { get; set; }
}
}