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_design_gl", DisableSyncStructure = true)]
public partial class CwDesignGl {
///
/// 唯一编码
///
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
///
/// 核算办法
///
[JsonProperty, Column(DbType = "varchar(10)")]
public string AMCODE { get; set; } = "0";
///
/// 应付账款
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string AP { get; set; }
///
/// 应付账款外币
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string APFC { get; set; }
///
/// 付费结算借方默认科目代码
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string APMBSPENDING { get; set; } = "";
///
/// 付费结算借方外币默认科目代码
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string APTMSFC { get; set; } = "";
///
/// 应收账款
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string AR { get; set; }
///
/// 应收账款外币
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string ARFC { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string ARMBSPENDING { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string ARTMSFC { get; set; } = "";
///
/// 银行付款凭证字
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string BPVW { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BPVWFC { get; set; } = "";
///
/// 银行收款凭证字
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string BRTW { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BRTWFC { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string CANAME { get; set; } = "";
///
/// 现金科目
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string CASH { get; set; }
///
/// 分公司代码
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string CR { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string CRFC { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string DANAME { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string DR { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string DRFC { get; set; }
///
/// 汇兑损益/财务费用
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string EGOL { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string ExchangeLoss { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string FC { get; set; }
[JsonProperty]
public int? FSOFTCODE { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(20)")]
public string INPUTTAX { get; set; } = "";
[JsonProperty]
public bool? ISADVANCE { get; set; }
///
/// 是否默认付费结算借方科目代码
///
[JsonProperty]
public bool? ISAPMBSPENDING { get; set; } = false;
///
/// 是否默认付费结算借方外币科目代码
///
[JsonProperty]
public bool? ISAPTMSFC { get; set; } = false;
[JsonProperty]
public bool? ISARMBSPENDING { get; set; } = false;
[JsonProperty]
public bool? ISARTMSFC { get; set; } = false;
[JsonProperty]
public bool? ISBSSOURCE { get; set; } = false;
///
/// 是否客户名称
///
[JsonProperty]
public bool? ISCLIENTNAME { get; set; } = false;
[JsonProperty]
public bool? ISCTGCIC { get; set; } = false;
///
/// 是否委托编号
///
[JsonProperty]
public bool? ISCUSTNO { get; set; } = false;
///
/// 是否在生成凭证号时补号
///
[JsonProperty]
public bool? ISFILLSERIALNO { get; set; } = false;
[JsonProperty]
public bool? ISMBINCOME { get; set; } = false;
///
/// 是否主提单号
///
[JsonProperty]
public bool? ISMBLNO { get; set; } = false;
///
/// 是否合并生成结算凭证中的银行科目
///
[JsonProperty]
public bool? ISMERGEBANK { get; set; } = false;
///
/// 合并生成结算凭证
///
[JsonProperty]
public bool? ISMGSC { get; set; } = false;
[JsonProperty]
public bool? ISRPBILLNO { get; set; } = false;
///
/// 是否收付申请单号
///
[JsonProperty, Column(Name = "ISRPBILLNO_ACAD")]
public bool? ISRPBILLNOACAD { get; set; } = false;
[JsonProperty]
public bool? ISRPBSSOURCE { get; set; } = false;
///
/// 是否收付客户名称
///
[JsonProperty]
public bool? ISRPCLIENTNAME { get; set; } = false;
///
/// 是否收付委托编号
///
[JsonProperty]
public bool? ISRPCUSTNO { get; set; } = false;
///
/// 是否收付主提单号
///
[JsonProperty]
public bool? ISRPMBLNO { get; set; } = false;
///
/// 是否收付船名
///
[JsonProperty]
public bool? ISRPVESSEL { get; set; } = false;
///
/// 是否收付航次
///
[JsonProperty]
public bool? ISRPVOYNO { get; set; } = false;
///
/// 是否在结算自动生成凭证时自动弹出结算凭证
///
[JsonProperty]
public bool? ISSETTLEMENTSOPEN { get; set; } = false;
[JsonProperty]
public bool? ISSTLEGOL { get; set; }
///
/// 凭证禁止修改
///
[JsonProperty]
public bool? ISVBM { get; set; } = false;
///
/// 是否船名
///
[JsonProperty]
public bool? ISVESSEL { get; set; } = false;
///
/// 是否航次
///
[JsonProperty]
public bool? ISVOYNO { get; set; } = false;
///
/// 主营业务收入
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string MBINCOME { get; set; }
///
/// 主营业务支出
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string MBSPENDING { get; set; }
///
/// 最后一次更新操作时间
///
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
///
/// 最后一次更新操作人
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string OUTPUTTAX { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string PANAEM { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string PiaoHao { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string PiaoHaoRP { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(20)")]
public string SANAME { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(36)")]
public string STARTGID { get; set; } = "";
///
/// 主营收入外币
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string TMFCI { get; set; }
///
/// 主营支出外币
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string TMSFC { get; set; }
///
/// 转帐凭证字
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string TVW { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string TVWFC { get; set; } = "";
}
}