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.
593 lines
12 KiB
C#
593 lines
12 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace DSWeb.Models
|
|
{
|
|
public class CwDesignEntity
|
|
{
|
|
public CwDesignEntity(){}
|
|
|
|
#region Model
|
|
private string _gid = Guid.NewGuid().ToString().Trim();
|
|
private int _fsoftcode = 0;
|
|
private string _tvw = "";
|
|
private string _cpvw = "";
|
|
private string _crtw = "";
|
|
private string _bpvw = "";
|
|
private string _brtw = "";
|
|
private bool _istcoiied = false;
|
|
private bool _isuapge = false;
|
|
private int _amcode = 0;
|
|
private string _caname = "";
|
|
private string _saname = "";
|
|
private string _daname = "";
|
|
private string _panaem = "";
|
|
private int _affixno = 0;
|
|
private bool _isattnotcvvgv = false;
|
|
private bool _isatbgv = false;
|
|
private bool _ismgsc = false;
|
|
private bool _isvbm = false;
|
|
private bool _isclientname = false;
|
|
private bool _iscotcode = false;
|
|
private bool _iscustno = false;
|
|
private bool _ismblno = false;
|
|
private bool _isvessel = false;
|
|
private bool _isvoyno = false;
|
|
private bool _isetd = false;
|
|
private bool _isrpclientname = false;
|
|
private bool _isrpcotcode = false;
|
|
private bool _isrpmblno = false;
|
|
private bool _isrpcustno = false;
|
|
private bool _isrpvessel = false;
|
|
private bool _isrpvoyno = false;
|
|
private bool _isrpetd = false;
|
|
private bool _ISSETTLEMENTS = false;
|
|
private bool _ISSETTLEMENTSOPEN = false;
|
|
private string _ar = "";
|
|
private string _arfc = "";
|
|
private string _ap = "";
|
|
private string _apfc = "";
|
|
private string _mbincome = "";
|
|
private string _mbspending = "";
|
|
private string _tmfci = "";
|
|
private string _tmsfc = "";
|
|
private string _aabwi = "";
|
|
private string _ambs = "";
|
|
private string _amfci = "";
|
|
private string _amsfc = "";
|
|
private string _otherr = "";
|
|
private string _otherp = "";
|
|
private string _egol = "";
|
|
private string _modifieduser = "";
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
private bool _ISAPMBSPENDING = false;
|
|
private string _APMBSPENDING = "";
|
|
private bool _ISAPTMSFC = false;
|
|
private string _APTMSFC = "";
|
|
|
|
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
public string GID
|
|
{
|
|
set{ _gid=value;}
|
|
get{return _gid;}
|
|
}
|
|
/// <summary>
|
|
/// 财务软件编码
|
|
/// </summary>
|
|
public int FSOFTCODE
|
|
{
|
|
set{ _fsoftcode=value;}
|
|
get{return _fsoftcode;}
|
|
}
|
|
/// <summary>
|
|
/// 转帐凭证字
|
|
/// </summary>
|
|
public string TVW
|
|
{
|
|
set{ _tvw=value;}
|
|
get{return _tvw;}
|
|
}
|
|
/// <summary>
|
|
/// 现金付款凭证字
|
|
/// </summary>
|
|
public string CPVW
|
|
{
|
|
set{ _cpvw=value;}
|
|
get{return _cpvw;}
|
|
}
|
|
/// <summary>
|
|
/// 现金收款凭证字
|
|
/// </summary>
|
|
public string CRTW
|
|
{
|
|
set{ _crtw=value;}
|
|
get{return _crtw;}
|
|
}
|
|
/// <summary>
|
|
/// 银行付款凭证字
|
|
/// </summary>
|
|
public string BPVW
|
|
{
|
|
set{ _bpvw=value;}
|
|
get{return _bpvw;}
|
|
}
|
|
/// <summary>
|
|
/// 银行收款凭证字
|
|
/// </summary>
|
|
public string BRTW
|
|
{
|
|
set{ _brtw=value;}
|
|
get{return _brtw;}
|
|
}
|
|
/// <summary>
|
|
/// 收入成本是否核算美元
|
|
/// </summary>
|
|
public bool ISTCOIIED
|
|
{
|
|
set{ _istcoiied=value;}
|
|
get{return _istcoiied;}
|
|
}
|
|
/// <summary>
|
|
/// 使用核算项目生成分录
|
|
/// </summary>
|
|
public bool ISUAPGE
|
|
{
|
|
set{ _isuapge=value;}
|
|
get{return _isuapge;}
|
|
}
|
|
/// <summary>
|
|
/// 核算办法
|
|
/// </summary>
|
|
public int AMCODE
|
|
{
|
|
set{ _amcode=value;}
|
|
get{return _amcode;}
|
|
}
|
|
/// <summary>
|
|
/// 客户核算名称
|
|
/// </summary>
|
|
public string CANAME
|
|
{
|
|
set{ _caname=value;}
|
|
get{return _caname;}
|
|
}
|
|
/// <summary>
|
|
/// 供应商核算名称
|
|
/// </summary>
|
|
public string SANAME
|
|
{
|
|
set{ _saname=value;}
|
|
get{return _saname;}
|
|
}
|
|
/// <summary>
|
|
/// 部门核算名称
|
|
/// </summary>
|
|
public string DANAME
|
|
{
|
|
set{ _daname=value;}
|
|
get{return _daname;}
|
|
}
|
|
/// <summary>
|
|
/// 人员核算名称
|
|
/// </summary>
|
|
public string PANAEM
|
|
{
|
|
set{ _panaem=value;}
|
|
get{return _panaem;}
|
|
}
|
|
/// <summary>
|
|
/// 附件数量
|
|
/// </summary>
|
|
public int AFFIXNO
|
|
{
|
|
set{ _affixno=value;}
|
|
get{return _affixno;}
|
|
}
|
|
/// <summary>
|
|
/// 根据船名航次生成凭证
|
|
/// </summary>
|
|
public bool ISATTNOTCVVGV
|
|
{
|
|
set{ _isattnotcvvgv=value;}
|
|
get{return _isattnotcvvgv;}
|
|
}
|
|
/// <summary>
|
|
/// 根据帐单生成凭证
|
|
/// </summary>
|
|
public bool ISATBGV
|
|
{
|
|
set{ _isatbgv=value;}
|
|
get{return _isatbgv;}
|
|
}
|
|
/// <summary>
|
|
/// 合并生成结算凭证
|
|
/// </summary>
|
|
public bool ISMGSC
|
|
{
|
|
set{ _ismgsc=value;}
|
|
get{return _ismgsc;}
|
|
}
|
|
/// <summary>
|
|
/// 凭证禁止修改
|
|
/// </summary>
|
|
public bool ISVBM
|
|
{
|
|
set{ _isvbm=value;}
|
|
get{return _isvbm;}
|
|
}
|
|
/// <summary>
|
|
/// 是否客户名称
|
|
/// </summary>
|
|
public bool ISCLIENTNAME
|
|
{
|
|
set{ _isclientname=value;}
|
|
get{return _isclientname;}
|
|
}
|
|
/// <summary>
|
|
/// 是否业务编号
|
|
/// </summary>
|
|
public bool ISCOTCODE
|
|
{
|
|
set{ _iscotcode=value;}
|
|
get{return _iscotcode;}
|
|
}
|
|
/// <summary>
|
|
/// 是否委托编号
|
|
/// </summary>
|
|
public bool ISCUSTNO
|
|
{
|
|
set{ _iscustno=value;}
|
|
get{return _iscustno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否主提单号
|
|
/// </summary>
|
|
public bool ISMBLNO
|
|
{
|
|
set{ _ismblno=value;}
|
|
get{return _ismblno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否船名
|
|
/// </summary>
|
|
public bool ISVESSEL
|
|
{
|
|
set{ _isvessel=value;}
|
|
get{return _isvessel;}
|
|
}
|
|
/// <summary>
|
|
/// 是否航次
|
|
/// </summary>
|
|
public bool ISVOYNO
|
|
{
|
|
set{ _isvoyno=value;}
|
|
get{return _isvoyno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否航期
|
|
/// </summary>
|
|
public bool ISETD
|
|
{
|
|
set{ _isetd=value;}
|
|
get{return _isetd;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付客户名称
|
|
/// </summary>
|
|
public bool ISRPCLIENTNAME
|
|
{
|
|
set{ _isrpclientname=value;}
|
|
get{return _isrpclientname;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付业务编号
|
|
/// </summary>
|
|
public bool ISRPCOTCODE
|
|
{
|
|
set{ _isrpcotcode=value;}
|
|
get{return _isrpcotcode;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付主提单号
|
|
/// </summary>
|
|
public bool ISRPMBLNO
|
|
{
|
|
set{ _isrpmblno=value;}
|
|
get{return _isrpmblno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付委托编号
|
|
/// </summary>
|
|
public bool ISRPCUSTNO
|
|
{
|
|
set{ _isrpcustno=value;}
|
|
get{return _isrpcustno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付船名
|
|
/// </summary>
|
|
public bool ISRPVESSEL
|
|
{
|
|
set{ _isrpvessel=value;}
|
|
get{return _isrpvessel;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付航次
|
|
/// </summary>
|
|
public bool ISRPVOYNO
|
|
{
|
|
set{ _isrpvoyno=value;}
|
|
get{return _isrpvoyno;}
|
|
}
|
|
/// <summary>
|
|
/// 是否收付航期
|
|
/// </summary>
|
|
public bool ISRPETD
|
|
{
|
|
set{ _isrpetd=value;}
|
|
get{return _isrpetd;}
|
|
}
|
|
/// <summary>
|
|
/// 是否在结算时自动生成凭证
|
|
/// </summary>
|
|
public bool ISSETTLEMENTS
|
|
{
|
|
set { _ISSETTLEMENTS = value; }
|
|
get { return _ISSETTLEMENTS; }
|
|
}
|
|
/// <summary>
|
|
/// 是否自动弹出结算凭证
|
|
/// </summary>
|
|
public bool ISSETTLEMENTSOPEN
|
|
{
|
|
set { _ISSETTLEMENTSOPEN = value; }
|
|
get { return _ISSETTLEMENTSOPEN; }
|
|
}
|
|
/// <summary>
|
|
/// 应收账款
|
|
/// </summary>
|
|
public string AR
|
|
{
|
|
set{ _ar=value;}
|
|
get{return _ar;}
|
|
}
|
|
/// <summary>
|
|
/// 应收账款外币
|
|
/// </summary>
|
|
public string ARFC
|
|
{
|
|
set{ _arfc=value;}
|
|
get{return _arfc;}
|
|
}
|
|
/// <summary>
|
|
/// 应付账款
|
|
/// </summary>
|
|
public string AP
|
|
{
|
|
set{ _ap=value;}
|
|
get{return _ap;}
|
|
}
|
|
/// <summary>
|
|
/// 应付账款外币
|
|
/// </summary>
|
|
public string APFC
|
|
{
|
|
set{ _apfc=value;}
|
|
get{return _apfc;}
|
|
}
|
|
/// <summary>
|
|
/// 主营业务收入
|
|
/// </summary>
|
|
public string MBINCOME
|
|
{
|
|
set{ _mbincome=value;}
|
|
get{return _mbincome;}
|
|
}
|
|
/// <summary>
|
|
/// 主营业务支出
|
|
/// </summary>
|
|
public string MBSPENDING
|
|
{
|
|
set{ _mbspending=value;}
|
|
get{return _mbspending;}
|
|
}
|
|
/// <summary>
|
|
/// 主营收入外币
|
|
/// </summary>
|
|
public string TMFCI
|
|
{
|
|
set{ _tmfci=value;}
|
|
get{return _tmfci;}
|
|
}
|
|
/// <summary>
|
|
/// 主营支出外币
|
|
/// </summary>
|
|
public string TMSFC
|
|
{
|
|
set{ _tmsfc=value;}
|
|
get{return _tmsfc;}
|
|
}
|
|
/// <summary>
|
|
/// 空运主营业务收入
|
|
/// </summary>
|
|
public string AABWI
|
|
{
|
|
set{ _aabwi=value;}
|
|
get{return _aabwi;}
|
|
}
|
|
/// <summary>
|
|
/// 空运主营业务支出
|
|
/// </summary>
|
|
public string AMBS
|
|
{
|
|
set{ _ambs=value;}
|
|
get{return _ambs;}
|
|
}
|
|
/// <summary>
|
|
/// 空运主营收入外币
|
|
/// </summary>
|
|
public string AMFCI
|
|
{
|
|
set{ _amfci=value;}
|
|
get{return _amfci;}
|
|
}
|
|
/// <summary>
|
|
/// 空运主营支出外币
|
|
/// </summary>
|
|
public string AMSFC
|
|
{
|
|
set{ _amsfc=value;}
|
|
get{return _amsfc;}
|
|
}
|
|
/// <summary>
|
|
/// 其他应收
|
|
/// </summary>
|
|
public string OTHERR
|
|
{
|
|
set{ _otherr=value;}
|
|
get{return _otherr;}
|
|
}
|
|
/// <summary>
|
|
/// 其他应付
|
|
/// </summary>
|
|
public string OTHERP
|
|
{
|
|
set{ _otherp=value;}
|
|
get{return _otherp;}
|
|
}
|
|
/// <summary>
|
|
/// 汇兑损益
|
|
/// </summary>
|
|
public string EGOL
|
|
{
|
|
set{ _egol=value;}
|
|
get{return _egol;}
|
|
}
|
|
/// <summary>
|
|
/// 最后一次更新操作人
|
|
/// </summary>
|
|
public string MODIFIEDUSER
|
|
{
|
|
set { _modifieduser = value; }
|
|
get { return _modifieduser; }
|
|
}
|
|
/// <summary>
|
|
/// 最后一次更新操作时间
|
|
/// </summary>
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
set { _modifiedtime = value; }
|
|
get { return _modifiedtime; }
|
|
}
|
|
/// <summary>
|
|
/// 是否默认付费结算借方科目代码
|
|
/// </summary>
|
|
public bool ISAPMBSPENDING
|
|
{
|
|
set { _ISAPMBSPENDING = value; }
|
|
get { return _ISAPMBSPENDING; }
|
|
}
|
|
/// <summary>
|
|
/// 付费结算借方默认科目代码
|
|
/// </summary>
|
|
public string APMBSPENDING
|
|
{
|
|
set { _APMBSPENDING = value; }
|
|
get { return _APMBSPENDING; }
|
|
}
|
|
/// <summary>
|
|
/// 是否默认付费结算外币借方科目代码
|
|
/// </summary>
|
|
public bool ISAPTMSFC
|
|
{
|
|
set { _ISAPTMSFC = value; }
|
|
get { return _ISAPTMSFC; }
|
|
}
|
|
/// <summary>
|
|
/// 付费结算外币借方默认科目代码
|
|
/// </summary>
|
|
public string APTMSFC
|
|
{
|
|
set { _APTMSFC = value; }
|
|
get { return _APTMSFC; }
|
|
}
|
|
|
|
private string _DR = "";
|
|
/// <summary>
|
|
/// 预收账款
|
|
/// </summary>
|
|
public string DR
|
|
{
|
|
set { _DR = value; }
|
|
get { return _DR; }
|
|
}
|
|
|
|
private string _DRFC = "";
|
|
/// <summary>
|
|
/// 预收账款外币
|
|
/// </summary>
|
|
public string DRFC
|
|
{
|
|
set { _DRFC = value; }
|
|
get { return _DRFC; }
|
|
}
|
|
|
|
private string _CR = "";
|
|
/// <summary>
|
|
/// 预付账款
|
|
/// </summary>
|
|
public string CR
|
|
{
|
|
set { _CR = value; }
|
|
get { return _CR; }
|
|
}
|
|
|
|
private string _CRFC = "";
|
|
/// <summary>
|
|
/// 预付账款外币
|
|
/// </summary>
|
|
public string CRFC
|
|
{
|
|
set { _CRFC = value; }
|
|
get { return _CRFC; }
|
|
}
|
|
|
|
private bool _isbillno = false;
|
|
/// <summary>
|
|
/// 是否申请单号
|
|
/// </summary>
|
|
public bool ISBILLNO
|
|
{
|
|
get { return _isbillno; }
|
|
set { _isbillno = value; }
|
|
}
|
|
|
|
private bool _isrpbillno = false;
|
|
/// <summary>
|
|
/// 是否收付申请单号
|
|
/// </summary>
|
|
public bool ISRPBILLNO
|
|
{
|
|
get { return _isrpbillno; }
|
|
set { _isrpbillno = value; }
|
|
}
|
|
|
|
private bool _ISFILLSERIALNO = false;
|
|
/// <summary>
|
|
/// 是否在生成凭证号时补号
|
|
/// </summary>
|
|
public bool ISFILLSERIALNO
|
|
{
|
|
set { _ISFILLSERIALNO = value; }
|
|
get { return _ISFILLSERIALNO; }
|
|
}
|
|
//
|
|
#endregion Model
|
|
}
|
|
}
|