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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCwDesign/MsCwDesign.cs

881 lines
21 KiB
C#

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