using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwDesignGl
{
[JsonObject]
public class MsCwDesignGl : 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 _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 string _tvwfc = "";
///
/// 外币转帐凭证字
///
[ModelDB]
public string TVWFC
{
get { return _tvwfc; }
set { _tvwfc = value; }
}
private string _bpvwfc = "";
///
/// 外币银行付款凭证字
///
[ModelDB]
public string BPVWFC
{
get { return _bpvwfc; }
set { _bpvwfc = value; }
}
private string _brtwfc = "";
///
/// 外币银行收款凭证字
///
[ModelDB]
public string BRTWFC
{
get { return _brtwfc; }
set { _brtwfc = 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 string _amcode = "";
///
/// 核算办法
///
[ModelDB]
public string AMCODE
{
get { return _amcode; }
set { _amcode = 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 _ISCTGCIC = false;
///
/// 合并生成成本收入凭证
///
[ModelDB]
public bool ISCTGCIC
{
get { return _ISCTGCIC; }
set { _ISCTGCIC = 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 _ISSTLCR = false;
///
/// 结算生成成本凭证
///
[ModelDB]
public bool ISSTLCR
{
get { return _ISSTLCR; }
set { _ISSTLCR = value; }
}
private bool _ISSTLDATE = false;
///
/// 结算生成成本凭证
///
[ModelDB]
public bool ISSTLDATE
{
get { return _ISSTLDATE; }
set { _ISSTLDATE = value; }
}
private bool _ISSTBANKGROUP = false;
///
/// 结算凭证银行科目合并
///
[ModelDB]
public bool ISSTBANKGROUP
{
get { return _ISSTBANKGROUP; }
set { _ISSTBANKGROUP = value; }
}
private bool _isfillserialno = false;
///
/// 是否在生成凭证号时补号
///
[ModelDB]
public bool ISFILLSERIALNO
{
get { return _isfillserialno; }
set { _isfillserialno = value; }
}
private bool _isclientname = false;
///
/// 是否客户名称
///
[ModelDB]
public bool ISCLIENTNAME
{
get { return _isclientname; }
set { _isclientname = 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 _issale = false;
///
/// 是否揽货人
///
[ModelDB]
public bool ISSALE
{
get { return _issale; }
set { _issale = value; }
}
//private bool _isbillno = false;
/////
///// ISBILLNO
/////
//[ModelDB]
//public bool ISBILLNO
//{
// get { return _isbillno; }
// set { _isbillno = 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 _ISBSSOURCE = false;
///
/// 是否业务来源
///
[ModelDB]
public bool ISBSSOURCE
{
get { return _ISBSSOURCE; }
set { _ISBSSOURCE = value; }
}
private bool _isrpclientname = false;
///
/// 是否收付客户名称
///
[ModelDB]
public bool ISRPCLIENTNAME
{
get { return _isrpclientname; }
set { _isrpclientname = value; }
}
private bool _isrpcustno = false;
///
/// 是否收付委托编号
///
[ModelDB]
public bool ISRPCUSTNO
{
get { return _isrpcustno; }
set { _isrpcustno = value; }
}
private bool _isrpmblno = false;
///
/// 是否收付主提单号
///
[ModelDB]
public bool ISRPMBLNO
{
get { return _isrpmblno; }
set { _isrpmblno = value; }
}
private bool _isrpsale = false;
///
/// 是否收付主提单号
///
[ModelDB]
public bool ISRPSALE
{
get { return _isrpsale; }
set { _isrpsale = 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 _ISRPBSSOURCE = false;
///
/// 是否收付业务来源
///
[ModelDB]
public bool ISRPBSSOURCE
{
get { return _ISRPBSSOURCE; }
set { _ISRPBSSOURCE = value; }
}
private bool _ISRPBILLNO = false;
///
/// 是否收付申请单号
///
[ModelDB]
public bool ISRPBILLNO
{
get { return _ISRPBILLNO; }
set { _ISRPBILLNO = value; }
}
private bool _ISRPBILLNO_ACAD = false;
///
/// 是否收付结算单号
///
[ModelDB]
public bool ISRPBILLNO_ACAD
{
get { return _ISRPBILLNO_ACAD; }
set { _ISRPBILLNO_ACAD = value; }
}
private bool _ISSTLDRCRISGROUP = false;
///
/// 结算凭证应收应付账款合并
///
[ModelDB]
public bool ISSTLDRCRISGROUP
{
get { return _ISSTLDRCRISGROUP; }
set { _ISSTLDRCRISGROUP = value; }
}
private bool _ISINVAMOUNTASSUM = false;
///
/// 销项发票根据开票金额生成凭证
///
[ModelDB]
public bool ISINVAMOUNTASSUM
{
get { return _ISINVAMOUNTASSUM; }
set { _ISINVAMOUNTASSUM = value; }
}
private bool _ISSTLVOUBILLGROUP = false;
///
/// JI结算凭证按结算单分组排序
///
[ModelDB]
public bool ISSTLVOUBILLGROUP
{
get { return _ISSTLVOUBILLGROUP; }
set { _ISSTLVOUBILLGROUP = value; }
}
private bool _ISADVANCE = false;
///
/// 根据预收预付生成凭证
///
[ModelDB]
public bool ISADVANCE
{
get { return _ISADVANCE; }
set { _ISADVANCE = value; }
}
private bool _ISSTLEGOL = false;
///
/// 结算生成损益
///
[ModelDB]
public bool ISSTLEGOL
{
get { return _ISSTLEGOL; }
set { _ISSTLEGOL = 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 _dr = "";
///
/// 预收账款
///
[ModelDB]
public string DR
{
get { return _dr; }
set { _dr = value; }
}
private string _drfc = "";
///
/// 预收账款外币
///
[ModelDB]
public string DRFC
{
get { return _drfc; }
set { _drfc = value; }
}
private string _cr = "";
///
/// 预付账款
///
[ModelDB]
public string CR
{
get { return _cr; }
set { _cr = value; }
}
private string _crfc = "";
///
/// 预付账款外币
///
[ModelDB]
public string CRFC
{
get { return _crfc; }
set { _crfc = value; }
}
private string _fc = "";
///
/// 财务费用
///
[ModelDB]
public string FC
{
get { return _fc; }
set { _fc = 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 _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 _ExchangeLoss = "";
///
/// 汇兑损失
///
[ModelDB]
public string ExchangeLoss
{
get { return _ExchangeLoss; }
set { _ExchangeLoss = value; }
}
private string _CASH = "";
///
/// 现金科目
///
[ModelDB]
public string CASH
{
get { return _CASH; }
set { _CASH = value; }
}
private string _OUTPUTTAX = "";
///
/// 销项税科目
///
[ModelDB]
public string OUTPUTTAX
{
get { return _OUTPUTTAX; }
set { _OUTPUTTAX = value; }
}
private string _INPUTTAX = "";
///
/// 进项税科目
///
[ModelDB]
public string INPUTTAX
{
get { return _INPUTTAX; }
set { _INPUTTAX = value; }
}
//private string _dr = "";
/////
///// DR
/////
//[ModelDB]
//public string DR
//{
// get { return _dr; }
// set { _dr = value; }
//}
//private string _drfc = "";
/////
///// DRFC
/////
//[ModelDB]
//public string DRFC
//{
// get { return _drfc; }
// set { _drfc = value; }
//}
//private string _cr = "";
/////
///// CR
/////
//[ModelDB]
//public string CR
//{
// get { return _cr; }
// set { _cr = value; }
//}
//private string _crfc = "";
/////
///// CRFC
/////
//[ModelDB]
//public string CRFC
//{
// get { return _crfc; }
// set { _crfc = value; }
//}
private bool _isapmbspending = false;
///
/// ISAPMBSPENDING
///
[ModelDB]
public bool ISAPMBSPENDING
{
get { return _isapmbspending; }
set { _isapmbspending = value; }
}
private string _apmbspending = "";
///
/// APMBSPENDING
///
[ModelDB]
public string APMBSPENDING
{
get { return _apmbspending; }
set { _apmbspending = value; }
}
private bool _isaptmsfc = false;
///
/// ISAPTMSFC
///
[ModelDB]
public bool ISAPTMSFC
{
get { return _isaptmsfc; }
set { _isaptmsfc = value; }
}
private string _aptmsfc = "";
///
/// APTMSFC
///
[ModelDB]
public string APTMSFC
{
get { return _aptmsfc; }
set { _aptmsfc = value; }
}
private string _corpid = "";
///
/// CORPID
///
[ModelDB]
public string CORPID
{
get { return _corpid; }
set { _corpid = 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 _MODIFIEDUSERNAME = "";
///
/// 更改操作人
///
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private bool _isarmbspending = false;
///
/// ISARMBSPENDING
///
[ModelDB]
public bool ISARMBSPENDING
{
get { return _isarmbspending; }
set { _isarmbspending = value; }
}
private string _armbspending = "";
///
/// ARMBSPENDING
///
[ModelDB]
public string ARMBSPENDING
{
get { return _armbspending; }
set { _armbspending = value; }
}
private bool _isartmsfc = false;
///
/// ISARTMSFC
///
[ModelDB]
public bool ISARTMSFC
{
get { return _isartmsfc; }
set { _isartmsfc = value; }
}
private string _artmsfc = "";
///
/// ARTMSFC
///
[ModelDB]
public string ARTMSFC
{
get { return _artmsfc; }
set { _artmsfc = value; }
}
private bool _ISMBINCOME = false;
///
/// 是否合并生成成本收入凭证中的主营业务科目
///
[ModelDB]
public bool ISMBINCOME
{
get { return _ISMBINCOME; }
set { _ISMBINCOME = value; }
}
private bool _issettlementsopen = false;
///
/// 是否在结算自动生成凭证时自动弹出结算凭证
///
[ModelDB]
public bool ISSETTLEMENTSOPEN
{
get { return _issettlementsopen; }
set { _issettlementsopen = value; }
}
private bool _ISSTLEXCHANGERATEISVAR = false;
///
/// 是否在收入成本汇率可变
///
[ModelDB]
public bool ISSTLEXCHANGERATEISVAR
{
get { return _ISSTLEXCHANGERATEISVAR; }
set { _ISSTLEXCHANGERATEISVAR = value; }
}
private string _STARTGID = "";
///
/// 总账已启用已登录账套GID
///
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
private string _PiaoHao = "";
///
/// 挂账票号选择
///
[ModelDB]
public string PiaoHao
{
get { return _PiaoHao; }
set { _PiaoHao = value; }
}
private string _PiaoHaoRP = "";
///
/// 结算票号选择
///
[ModelDB]
public string PiaoHaoRP
{
get { return _PiaoHaoRP; }
set { _PiaoHaoRP = value; }
}
private bool _ISMERGEBANK = false;
///
/// 是否合并生成结算凭证中的银行科目
///
[ModelDB]
public bool ISMERGEBANK
{
get { return _ISMERGEBANK; }
set { _ISMERGEBANK = 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 bool _ISRPSTLDATE = false;
///
/// 是否结算凭证取结算日期
///
[ModelDB]
public bool ISRPSTLDATE
{
get { return _ISRPSTLDATE; }
set { _ISRPSTLDATE = value; }
}
private bool _ISINVRATESELF = false;
///
/// 是否发票凭证税额单独分录
///
[ModelDB]
public bool ISINVRATESELF
{
get { return _ISINVRATESELF; }
set { _ISINVRATESELF = value; }
}
private bool _ISINVEXPLANONRATE = false;
///
/// 是否发票凭证根据发票税率和币别生成分录
///
[ModelDB]
public bool ISINVEXPLANONRATE
{
get { return _ISINVEXPLANONRATE; }
set { _ISINVEXPLANONRATE = value; }
}
private bool _ISSALECORP = false;
///
/// 是否发票凭证根据发票税率和币别生成分录
///
[ModelDB]
public bool ISSALECORP
{
get { return _ISSALECORP; }
set { _ISSALECORP = value; }
}
private bool _ISRATESET = false;
///
/// 是否发票凭证根据发票税率和币别生成分录
///
[ModelDB]
public bool ISRATESET
{
get { return _ISRATESET; }
set { _ISRATESET = value; }
}
private string _invtax = "";
///
/// 发票税额科目
///
[ModelDB]
public string INVTAX
{
get { return _invtax; }
set { _invtax = value; }
}
private string _DREXPLAN = "";
///
/// 应收摘要
///
[ModelDB]
public string DREXPLAN
{
get { return _DREXPLAN; }
set { _DREXPLAN = value; }
}
private string _CREXPLAN = "";
///
/// 应付摘要
///
[ModelDB]
public string CREXPLAN
{
get { return _CREXPLAN; }
set { _CREXPLAN = value; }
}
private string _MBINCOMEEXPLAN = "";
///
/// 主营收入摘要
///
[ModelDB]
public string MBINCOMEEXPLAN
{
get { return _MBINCOMEEXPLAN; }
set { _MBINCOMEEXPLAN = value; }
}
private string _MBSPENDINGEXPLAN = "";
///
/// 主营支出摘要
///
[ModelDB]
public string MBSPENDINGEXPLAN
{
get { return _MBSPENDINGEXPLAN; }
set { _MBSPENDINGEXPLAN = value; }
}
private string _STLDREXPLAN = "";
///
/// 应收结算摘要
///
[ModelDB]
public string STLDREXPLAN
{
get { return _STLDREXPLAN; }
set { _STLDREXPLAN = value; }
}
private string _STLCREXPLAN = "";
///
/// 应付结算摘要
///
[ModelDB]
public string STLCREXPLAN
{
get { return _STLCREXPLAN; }
set { _STLCREXPLAN = value; }
}
private string _INVDREXPLAN = "";
///
/// 应收摘要
///
[ModelDB]
public string INVDREXPLAN
{
get { return _INVDREXPLAN; }
set { _INVDREXPLAN = value; }
}
private string _INVCREXPLAN = "";
///
/// 应付摘要
///
[ModelDB]
public string INVCREXPLAN
{
get { return _INVCREXPLAN; }
set { _INVCREXPLAN = value; }
}
private string _INVMBINCOMEEXPLAN = "";
///
/// 主营收入摘要
///
[ModelDB]
public string INVMBINCOMEEXPLAN
{
get { return _INVMBINCOMEEXPLAN; }
set { _INVMBINCOMEEXPLAN = value; }
}
private string _INVMBSPENDINGEXPLAN = "";
///
/// 主营支出摘要
///
[ModelDB]
public string INVMBSPENDINGEXPLAN
{
get { return _INVMBSPENDINGEXPLAN; }
set { _INVMBSPENDINGEXPLAN = value; }
}
#endregion
public MsCwDesignGl()
{
TableName = "cw_design_gl";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class MsCwDesignGlItem : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
///
/// 唯一编码
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkgid = "";
///
/// 关联GID
///
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _itemgid = "";
///
/// 项目GID
///
[ModelDB]
public string ITEMGID
{
get { return _itemgid; }
set { _itemgid = value; }
}
private string _optype = "";
///
/// 业务类型
///
[ModelDB]
public string OPTYPE
{
get { return _optype; }
set { _optype = value; }
}
private string _modifieduser = "";
///
/// 更改操作人gid
///
[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 _MODIFIEDUSERNAME = "";
///
/// 更改操作人
///
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _ITEMCODE = "";
///
/// ITEMCODE
///
public string ITEMCODE
{
get { return _ITEMCODE; }
set { _ITEMCODE = value; }
}
private string _ITEMNAME = "";
///
/// ITEMNAME
///
public string ITEMNAME
{
get { return _ITEMNAME; }
set { _ITEMNAME = value; }
}
private string _STARTGID = "";
///
/// 总账已启用已登录账套GID
///
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
#endregion
public MsCwDesignGlItem()
{
TableName = "cw_design_gl_item";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}