using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwDesign
{
[JsonObject]
public class MsCwDesign : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
///
/// 唯一编码
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private int _fsoftcode = 0;
///
/// 财务软件编码
///
[ModelDB]
public int FSOFTCODE
{
get { return _fsoftcode; }
set { _fsoftcode = value; }
}
private string _tvw = "";
///
/// 转帐凭证字
///
[ModelDB]
public string TVW
{
get { return _tvw; }
set { _tvw = value; }
}
private string _cpvw = "";
///
/// 现金付款凭证字
///
[ModelDB]
public string CPVW
{
get { return _cpvw; }
set { _cpvw = value; }
}
private string _crtw = "";
///
/// 现金收款凭证字
///
[ModelDB]
public string CRTW
{
get { return _crtw; }
set { _crtw = value; }
}
private string _bpvw = "";
///
/// 银行付款凭证字
///
[ModelDB]
public string BPVW
{
get { return _bpvw; }
set { _bpvw = value; }
}
private string _brtw = "";
///
/// 银行收款凭证字
///
[ModelDB]
public string BRTW
{
get { return _brtw; }
set { _brtw = value; }
}
private bool _istcoiied = false;
///
/// 收入成本是否核算美元
///
[ModelDB]
public bool ISTCOIIED
{
get { return _istcoiied; }
set { _istcoiied = value; }
}
private bool _isuapge = false;
///
/// 使用核算项目生成分录
///
[ModelDB]
public bool ISUAPGE
{
get { return _isuapge; }
set { _isuapge = value; }
}
private int _amcode = 0;
///
/// 核算办法
///
[ModelDB]
public int AMCODE
{
get { return _amcode; }
set { _amcode = value; }
}
private string _caname = "";
///
/// 客户核算名称
///
[ModelDB]
public string CANAME
{
get { return _caname; }
set { _caname = value; }
}
private string _saname = "";
///
/// 供应商核算名称
///
[ModelDB]
public string SANAME
{
get { return _saname; }
set { _saname = value; }
}
private string _daname = "";
///
/// 部门核算名称
///
[ModelDB]
public string DANAME
{
get { return _daname; }
set { _daname = value; }
}
private string _panaem = "";
///
/// 人员核算名称
///
[ModelDB]
public string PANAEM
{
get { return _panaem; }
set { _panaem = value; }
}
private int _affixno = 0;
///
/// 附件数量
///
[ModelDB]
public int AFFIXNO
{
get { return _affixno; }
set { _affixno = value; }
}
private bool _isattnotcvvgv = false;
///
/// 根据船名航次生成凭证
///
[ModelDB]
public bool ISATTNOTCVVGV
{
get { return _isattnotcvvgv; }
set { _isattnotcvvgv = value; }
}
private bool _isatbgv = false;
///
/// 根据帐单生成凭证
///
[ModelDB]
public bool ISATBGV
{
get { return _isatbgv; }
set { _isatbgv = value; }
}
private bool _ismgsc = false;
///
/// 合并生成结算凭证
///
[ModelDB]
public bool ISMGSC
{
get { return _ismgsc; }
set { _ismgsc = value; }
}
private bool _isvbm = false;
///
/// 凭证禁止修改
///
[ModelDB]
public bool ISVBM
{
get { return _isvbm; }
set { _isvbm = value; }
}
private bool _isclientname = false;
///
/// 是否客户名称
///
[ModelDB]
public bool ISCLIENTNAME
{
get { return _isclientname; }
set { _isclientname = value; }
}
private bool _iscotcode = false;
///
/// 是否业务编号
///
[ModelDB]
public bool ISCOTCODE
{
get { return _iscotcode; }
set { _iscotcode = value; }
}
private bool _iscustno = false;
///
/// 是否委托编号
///
[ModelDB]
public bool ISCUSTNO
{
get { return _iscustno; }
set { _iscustno = value; }
}
private bool _ismblno = false;
///
/// 是否主提单号
///
[ModelDB]
public bool ISMBLNO
{
get { return _ismblno; }
set { _ismblno = value; }
}
private bool _isvessel = false;
///
/// 是否船名
///
[ModelDB]
public bool ISVESSEL
{
get { return _isvessel; }
set { _isvessel = value; }
}
private bool _isvoyno = false;
///
/// 是否航次
///
[ModelDB]
public bool ISVOYNO
{
get { return _isvoyno; }
set { _isvoyno = value; }
}
private bool _isetd = false;
///
/// 是否航期
///
[ModelDB]
public bool ISETD
{
get { return _isetd; }
set { _isetd = value; }
}
private bool _isrpclientname = false;
///
/// 是否收付客户名称
///
[ModelDB]
public bool ISRPCLIENTNAME
{
get { return _isrpclientname; }
set { _isrpclientname = value; }
}
private bool _isrpcotcode = false;
///
/// 是否收付业务编号
///
[ModelDB]
public bool ISRPCOTCODE
{
get { return _isrpcotcode; }
set { _isrpcotcode = value; }
}
private bool _isrpmblno = false;
///
/// 是否收付主提单号
///
[ModelDB]
public bool ISRPMBLNO
{
get { return _isrpmblno; }
set { _isrpmblno = value; }
}
private bool _isrpcustno = false;
///
/// 是否收付委托编号
///
[ModelDB]
public bool ISRPCUSTNO
{
get { return _isrpcustno; }
set { _isrpcustno = value; }
}
private bool _isrpvessel = false;
///
/// 是否收付船名
///
[ModelDB]
public bool ISRPVESSEL
{
get { return _isrpvessel; }
set { _isrpvessel = value; }
}
private bool _isrpvoyno = false;
///
/// 是否收付航次
///
[ModelDB]
public bool ISRPVOYNO
{
get { return _isrpvoyno; }
set { _isrpvoyno = value; }
}
private bool _isrpetd = false;
///
/// 是否收付航期
///
[ModelDB]
public bool ISRPETD
{
get { return _isrpetd; }
set { _isrpetd = value; }
}
private string _ar = "";
///
/// 应收账款
///
[ModelDB]
public string AR
{
get { return _ar; }
set { _ar = value; }
}
private string _arfc = "";
///
/// 应收账款外币
///
[ModelDB]
public string ARFC
{
get { return _arfc; }
set { _arfc = value; }
}
private string _ap = "";
///
/// 应付账款
///
[ModelDB]
public string AP
{
get { return _ap; }
set { _ap = value; }
}
private string _apfc = "";
///
/// 应付账款外币
///
[ModelDB]
public string APFC
{
get { return _apfc; }
set { _apfc = value; }
}
private string _mbincome = "";
///
/// 主营业务收入
///
[ModelDB]
public string MBINCOME
{
get { return _mbincome; }
set { _mbincome = value; }
}
private string _mbspending = "";
///
/// 主营业务支出
///
[ModelDB]
public string MBSPENDING
{
get { return _mbspending; }
set { _mbspending = value; }
}
private string _tmfci = "";
///
/// 主营收入外币
///
[ModelDB]
public string TMFCI
{
get { return _tmfci; }
set { _tmfci = value; }
}
private string _tmsfc = "";
///
/// 主营支出外币
///
[ModelDB]
public string TMSFC
{
get { return _tmsfc; }
set { _tmsfc = value; }
}
private string _aabwi = "";
///
/// 空运主营业务收入
///
[ModelDB]
public string AABWI
{
get { return _aabwi; }
set { _aabwi = value; }
}
private string _ambs = "";
///
/// 空运主营业务支出
///
[ModelDB]
public string AMBS
{
get { return _ambs; }
set { _ambs = value; }
}
private string _amfci = "";
///
/// 空运主营收入外币
///
[ModelDB]
public string AMFCI
{
get { return _amfci; }
set { _amfci = value; }
}
private string _amsfc = "";
///
/// 空运主营支出外币
///
[ModelDB]
public string AMSFC
{
get { return _amsfc; }
set { _amsfc = value; }
}
private string _otherr = "";
///
/// 其他应收
///
[ModelDB]
public string OTHERR
{
get { return _otherr; }
set { _otherr = value; }
}
private string _otherp = "";
///
/// 其他应付
///
[ModelDB]
public string OTHERP
{
get { return _otherp; }
set { _otherp = value; }
}
private string _egol = "";
///
/// 汇兑损益
///
[ModelDB]
public string EGOL
{
get { return _egol; }
set { _egol = value; }
}
private string _fc = "";
///
/// 财务费用
///
[ModelDB]
public string FC
{
get { return _fc; }
set { _fc = value; }
}
private string _modifieduser = "";
///
/// 最后一次更新操作人
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次更新操作时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _apmbspending = "";
///
/// 付费结算借方默认科目代码
///
[ModelDB]
public string APMBSPENDING
{
get { return _apmbspending; }
set { _apmbspending = value; }
}
private bool _isapmbspending = false;
///
/// 是否默认付费结算借方科目代码
///
[ModelDB]
public bool ISAPMBSPENDING
{
get { return _isapmbspending; }
set { _isapmbspending = value; }
}
private string _aptmsfc = "";
///
/// 付费结算借方外币默认科目代码
///
[ModelDB]
public string APTMSFC
{
get { return _aptmsfc; }
set { _aptmsfc = value; }
}
private bool _isaptmsfc = false;
///
/// 是否默认付费结算借方外币科目代码
///
[ModelDB]
public bool ISAPTMSFC
{
get { return _isaptmsfc; }
set { _isaptmsfc = value; }
}
private bool _issettlements = false;
///
/// 是否在结算时自动生成凭证
///
[ModelDB]
public bool ISSETTLEMENTS
{
get { return _issettlements; }
set { _issettlements = value; }
}
private string _dr = "";
///
/// 预收账款 deposit received
///
[ModelDB]
public string DR
{
get { return _dr; }
set { _dr = value; }
}
private string _drfc = "";
///
/// 预收账款外币deposit received foreign currency
///
[ModelDB]
public string DRFC
{
get { return _drfc; }
set { _drfc = value; }
}
private string _cr = "";
///
/// 预付账款 account prepaid
///
[ModelDB]
public string CR
{
get { return _cr; }
set { _cr = value; }
}
private string _crfc = "";
///
/// 预付账款外币account prepaid foreign currency
///
[ModelDB]
public string CRFC
{
get { return _crfc; }
set { _crfc = value; }
}
private bool _isbillno = false;
///
/// 是否申请单号
///
[ModelDB]
public bool ISBILLNO
{
get { return _isbillno; }
set { _isbillno = value; }
}
private bool _isrpbillno = false;
///
/// 是否收付申请单号
///
[ModelDB]
public bool ISRPBILLNO
{
get { return _isrpbillno; }
set { _isrpbillno = value; }
}
private bool _isfillserialno = false;
///
/// 是否在生成凭证号时补号
///
[ModelDB]
public bool ISFILLSERIALNO
{
get { return _isfillserialno; }
set { _isfillserialno = value; }
}
private bool _issettlementsopen = false;
///
/// 是否在结算自动生成凭证时自动弹出结算凭证
///
[ModelDB]
public bool ISSETTLEMENTSOPEN
{
get { return _issettlementsopen; }
set { _issettlementsopen = value; }
}
private bool _iscustomername = false;
///
/// 是否委托单位
///
[ModelDB]
public bool ISCUSTOMERNAME
{
get { return _iscustomername; }
set { _iscustomername = value; }
}
private bool _isrpcustomername = false;
///
/// 是否收付委托单位
///
[ModelDB]
public bool ISRPCUSTOMERNAME
{
get { return _isrpcustomername; }
set { _isrpcustomername = value; }
}
private bool _isexplanmodel = false;
///
/// 是否摘要模板
///
[ModelDB]
public bool ISEXPLANMODEL
{
get { return _isexplanmodel; }
set { _isexplanmodel = value; }
}
private bool _isrpexplanmodel = false;
///
/// 是否收付摘要模板
///
[ModelDB]
public bool ISRPEXPLANMODEL
{
get { return _isrpexplanmodel; }
set { _isrpexplanmodel = value; }
}
private string _explanar = "";
///
/// 挂账应收摘要模板
///
[ModelDB]
public string EXPLANAR
{
get { return _explanar; }
set { _explanar = value; }
}
private string _explanap = "";
///
/// 挂账应付摘要模板
///
[ModelDB]
public string EXPLANAP
{
get { return _explanap; }
set { _explanap = value; }
}
private string _explanmbincome = "";
///
/// 主营业务收入摘要模板
///
[ModelDB]
public string EXPLANMBINCOME
{
get { return _explanmbincome; }
set { _explanmbincome = value; }
}
private string _explanmbspending = "";
///
/// 主营业务支出摘要模板
///
[ModelDB]
public string EXPLANMBSPENDING
{
get { return _explanmbspending; }
set { _explanmbspending = value; }
}
private string _rpexplanar = "";
///
/// 结算应收摘要模板
///
[ModelDB]
public string RPEXPLANAR
{
get { return _rpexplanar; }
set { _rpexplanar = value; }
}
private string _rpexplanap = "";
///
/// 结算应付摘要模板
///
[ModelDB]
public string RPEXPLANAP
{
get { return _rpexplanap; }
set { _rpexplanap = value; }
}
private string _amar = "";
///
/// 空运应收账款
///
[ModelDB]
public string AMAR
{
get { return _amar; }
set { _amar = value; }
}
private string _amarfc = "";
///
/// 空运应收账款外币
///
[ModelDB]
public string AMARFC
{
get { return _amarfc; }
set { _amarfc = value; }
}
private string _amap = "";
///
/// 空运应付账款
///
[ModelDB]
public string AMAP
{
get { return _amap; }
set { _amap = value; }
}
private string _amapfc = "";
///
/// 空运应付账款外币
///
[ModelDB]
public string AMAPFC
{
get { return _amapfc; }
set { _amapfc = value; }
}
#endregion
public MsCwDesign()
{
TableName = "cw_design";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}