using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.RptWmsSettleListViewEntity { [JsonObject] public class RptWmsSettleListViewEntity : ModelObjectBillBody { #region private Fields private string _DUINO = "*";//业务编号 private string _BSNO = "*";//业务编号 private string _MBLNO = "";//主提单号 private string _CUSTNO = "";//委托编号 private string _CUSTOMERNAME = "";//委托单位 private string _VESSEL = "";//船名 private string _VOYNO = "";//航次 private string _ETD;//开船日期 private string _BSDATE = "";//录入日期 private string _ACCDATE = "";//会计期间 private decimal _RMBDR = 0; private decimal _BALRMBDR = 0; private decimal _RMBCR = 0; private decimal _BALRMBCR = 0; private decimal _USDDR = 0; private decimal _BALUSDDR = 0; private decimal _USDCR = 0; private decimal _BALUSDCR = 0; private decimal _OTDR = 0; private decimal _BALOTDR = 0; private decimal _OTCR = 0; private decimal _BALOTCR = 0; private string _SALE = "";//揽货人 private string _CNTRTOTAL = "";//集装箱 private string _BSSOURCE = "";//业务来源 private string _BSSOURCEDETAIL = "";//来源明细 #endregion #region Public Properties public string DUINO { get { return _DUINO; } set { _DUINO = value; } } public string BSNO { get { return _BSNO; } set { _BSNO = value; } } public string BSDATE { get { return _BSDATE; } set { _BSDATE = value; } } public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } } public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } } public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } } public string ETD { get { return _ETD; } set { _ETD = value; } } public string CNTRTOTAL { get { return _CNTRTOTAL; } set { _CNTRTOTAL = value; } } public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } } public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } } public string SALE { get { return _SALE; } set { _SALE = value; } } public decimal RMBDR {get { return _RMBDR; } set { _RMBDR = value; } } public decimal RMBCR { get { return _RMBCR; } set { _RMBCR = value; } } public decimal BALRMBDR { get { return _BALRMBDR; } set { _BALRMBDR = value; } } public decimal BALRMBCR { get { return _BALRMBCR; } set { _BALRMBCR = value; } } public decimal USDDR { get { return _USDDR; } set { _USDDR = value; } } public decimal USDCR { get { return _USDCR; } set { _USDCR = value; } } public decimal BALUSDDR { get { return _BALUSDDR; } set { _BALUSDDR = value; } } public decimal BALUSDCR { get { return _BALUSDCR; } set { _BALUSDCR = value; } } public decimal OTDR { get { return _OTDR; } set { _OTDR = value; } } public decimal OTCR { get { return _OTCR; } set { _OTCR = value; } } public decimal BALOTDR { get { return _BALOTDR; } set { _BALOTDR = value; } } public decimal BALOTCR { get { return _BALOTCR; } set { _BALOTCR = value; } } #endregion } /* [JsonObject] public class ChDuiDetailView : ModelObjectBillBody { #region private Fields private string _DUINO = "*";//业务编号 private string _BSNO = "*";//业务编号 private string _CH_ID = String.Empty; private string _feeType_Ref = string.Empty; private string _feeName = String.Empty; private string _customerName = String.Empty; private decimal _amount = 0; private decimal _balamount = 0; private string _currency = "RMB"; private decimal _exChangerate = 1; #endregion #region Public Properties public string DUINO { get { return _DUINO; } set { _DUINO = value; } } public string BSNO { get { return _BSNO; } set { _BSNO = value; } } public string CH_ID { get { return _CH_ID; } set { _CH_ID = value; } } public string FeeType_Ref { get { return _feeType_Ref; } set { _feeType_Ref = value; } } public string FeeName { get { return _feeName; } set { _feeName = value; } } public string CustomerName { get { return _customerName; } set { _customerName = value; } } public decimal Amount { get { return _amount; } set { _amount = value; } } public decimal BalAmount { get { return _balamount; } set { _balamount = value; } } public string Currency { get { return _currency; } set { _currency = value; } } public decimal ExChangerate { get { return _exChangerate; } set { _exChangerate = value; } } #endregion } [JsonObject] public class ChFeeDetail : ModelObjectBillBody { #region ch_fee private string _gid = ""; /// /// 唯一编号 /// public string GID { get { return _gid; } set { _gid = value; } } private string _bsno = ""; /// /// 业务编号 /// public string BSNO { get { return _bsno; } set { _bsno = value; } } private string _feetype = ""; /// /// 费用收、付方式 /// public string FEETYPE { get { return _feetype; } set { _feetype = value; } } private string _feename = ""; /// /// 费用中文名称 /// public string FEENAME { get { return _feename; } set { _feename = value; } } private string _feedescription = ""; /// /// 费用英文名称 /// public string FEEDESCRIPTION { get { return _feedescription; } set { _feedescription = value; } } private string _customertype = ""; /// /// 客户类别 /// public string CUSTOMERTYPE { get { return _customertype; } set { _customertype = value; } } private string _customername = ""; /// /// 客户名称 /// public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _unit = ""; /// /// 单位标准 /// public string UNIT { get { return _unit; } set { _unit = value; } } private decimal _unitprice = 0; /// /// 单价 /// public decimal UNITPRICE { get { return _unitprice; } set { _unitprice = value; } } private decimal _quantity = 0; /// /// 数量 /// public decimal QUANTITY { get { return _quantity; } set { _quantity = value; } } private decimal _amount = 0; /// /// 金额 /// public decimal AMOUNT { get { return _amount; } set { _amount = value; } } private string _currency = ""; /// /// 币别 /// public string CURRENCY { get { return _currency; } set { _currency = value; } } private decimal _exchangerate = 0; /// /// 汇率 /// public decimal EXCHANGERATE { get { return _exchangerate; } set { _exchangerate = value; } } private string _reason = ""; /// /// 原因 /// public string REASON { get { return _reason; } set { _reason = value; } } private string _remark = ""; /// /// 备注 /// public string REMARK { get { return _remark; } set { _remark = value; } } private decimal _commissionrate = 0; /// /// 佣金比率 /// public decimal COMMISSIONRATE { get { return _commissionrate; } set { _commissionrate = value; } } private decimal _Settle = 0; /// /// 结算金额 /// public decimal Settle { get { return _Settle; } set { _Settle = value; } } private decimal _invoice = 0; /// /// 开票金额 /// public decimal INVOICE { get { return _invoice; } set { _invoice = value; } } private decimal _orderamount = 0; /// /// 申请金额 /// public decimal ORDERAMOUNT { get { return _orderamount; } set { _orderamount = value; } } private decimal _orderinvoice = 0; /// /// 申请开票 /// public decimal ORDERINVOICE { get { return _orderinvoice; } set { _orderinvoice = value; } } private DateTime _submitdate; /// /// 提交时间 /// public DateTime SUBMITDATE { get { return _submitdate; } set { _submitdate = value; } } private string _auditoperator = ""; /// /// 审核人 /// public string AUDITOPERATOR { get { return _auditoperator; } set { _auditoperator = value; } } private DateTime _auditdate; /// /// 审核时间 /// public DateTime AUDITDATE { get { return _auditdate; } set { _auditdate = value; } } private string _enteroperator = ""; /// /// 录入人 /// public string ENTEROPERATOR { get { return _enteroperator; } set { _enteroperator = value; } } private DateTime _enterdate = DateTime.Now; /// /// 录入时间 /// public DateTime ENTERDATE { get { return _enterdate; } set { _enterdate = value; } } private string _debitno = ""; /// /// 对账编号 /// public string DEBITNO { get { return _debitno; } set { _debitno = value; } } private bool _isdebit = false; /// /// 是否对帐 /// public bool ISDEBIT { get { return _isdebit; } set { _isdebit = value; } } private bool _isopen = false; /// /// 是否机密 /// public bool ISOPEN { get { return _isopen; } set { _isopen = value; } } private bool _isadvancedpay = false; /// /// 是否垫付 /// public bool ISADVANCEDPAY { get { return _isadvancedpay; } set { _isadvancedpay = value; } } private int _sort = 0; /// /// 排序值 /// public int SORT { get { return _sort; } set { _sort = value; } } private bool _isinvoice = false; /// /// 是否开发票 /// public bool ISINVOICE { get { return _isinvoice; } set { _isinvoice = value; } } private string _feestatus = ""; /// /// 费用状态 /// public string FEESTATUS { get { return _feestatus; } set { _feestatus = value; } } private string _feefrt = ""; /// /// 运费支付方式 /// public string FEEFRT { get { return _feefrt; } set { _feefrt = value; } } private bool _iscrmorderfee = false; /// /// 是否来自订舱费用信息 /// public bool ISCRMORDERFEE { get { return _iscrmorderfee; } set { _iscrmorderfee = value; } } private int _auditstatus = 0; /// /// 审核状态 /// public int AUDITSTATUS { get { return _auditstatus; } set { _auditstatus = value; } } private string _invoicenum = ""; /// /// 发票号码 /// public string INVOICENUM { get { return _invoicenum; } set { _invoicenum = value; } } private string _chequenum = ""; /// /// 支票号码 /// public string CHEQUENUM { get { return _chequenum; } set { _chequenum = value; } } private string _wmsoutbsno = ""; /// /// 出库单BSNO /// public string WMSOUTBSNO { get { return _wmsoutbsno; } set { _wmsoutbsno = value; } } private int _linenum = 0; /// /// 单个grid的行号 /// public int LINENUM { get { return _linenum; } set { _linenum = value; } } private decimal _taxrate = 0; /// /// 税率 /// public decimal TAXRATE { get { return _taxrate; } set { _taxrate = value; } } private decimal _notaxamount = 0; /// /// 不含税金额 /// public decimal NOTAXAMOUNT { get { return _notaxamount; } set { _notaxamount = value; } } private decimal _acctaxrate = 0; /// /// 财务税率 /// public decimal ACCTAXRATE { get { return _acctaxrate; } set { _acctaxrate = value; } } private bool _isvou = false; /// /// 是否生成凭证 /// public bool ISVOU { get { return _isvou; } set { _isvou = value; } } private string _voucherno = ""; /// /// 凭证号 /// public string VOUCHERNO { get { return _voucherno; } set { _voucherno = value; } } private string _accdate = ""; /// /// 会计期间 /// public string ACCDATE { get { return _accdate; } set { _accdate = value; } } private string _bxgid = ""; /// /// 报销单ID /// public string BXGID { get { return _bxgid; } set { _bxgid = value; } } private decimal _tax = 0; /// /// 融资业务ID /// public decimal TAX { get { return _tax; } set { _tax = value; } } #endregion } */ [JsonObject] public class RptWmsSettleDetailEntity : ModelObjectBillBody { #region 读写属性 private string _gid = ""; /// /// 惟一编号 /// public string GID { get { return _gid; } set { _gid = value; } } private string _wmsgid = ""; /// /// 入库单GID--wms /// public string WMSGID { get { return _wmsgid; } set { _wmsgid = value; } } private string _blno = ""; /// /// 提单号 /// public string BLNO { get { return _blno; } set { _blno = value; } } private string _CUSTOMNO = ""; /// /// 备案清单号 /// public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } private string _contractno = ""; /// /// 合同号 /// public string CONTRACTNO { get { return _contractno; } set { _contractno = value; } } private string _wmsno = ""; /// /// 入库单号 /// public string WMSNO { get { return _wmsno; } set { _wmsno = value; } } private string _outbsno = ""; /// /// 出库单号 /// public string OUTBSNO { get { return _outbsno; } set { _outbsno = value; } } private string _customername = ""; /// /// 货主 /// public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _storagename = ""; /// /// 仓库 /// public string STORAGENAME { get { return _storagename; } set { _storagename = value; } } private string _goodsname = ""; /// /// 货物名称/品名 /// public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } private string _goodsmodel = ""; /// /// 型号/品牌 /// public string GOODSMODEL { get { return _goodsmodel; } set { _goodsmodel = value; } } private string _goodsstandard = ""; /// /// 规格 /// public string GOODSSTANDARD { get { return _goodsstandard; } set { _goodsstandard = value; } } private string _goodsgrade = ""; /// /// 品名的等级 /// public string GOODSGRADE { get { return _goodsgrade; } set { _goodsgrade = value; } } private string _wmsdate = ""; /// /// 入库日期 /// public string WMSDATE { get { return _wmsdate; } set { _wmsdate = value; } } private string _dodate = ""; /// /// 出库日期 /// public string DODATE { get { return _dodate; } set { _dodate = value; } } private int _wmsdays = 0; /// /// 应收仓储天数_OUT /// public int WMSDAYS { get { return _wmsdays; } set { _wmsdays = value; } } private string _startbillingdate_out = ""; /// /// 应收开始计费日期_OUT /// public string STARTBILLINGDATE_OUT { get { return _startbillingdate_out; } set { _startbillingdate_out = value; } } private string _endbillingdate_out = ""; /// /// 应收结束计费日期_OUT /// public string ENDBILLINGDATE_OUT { get { return _endbillingdate_out; } set { _endbillingdate_out = value; } } private decimal _goodsoutfee = 0; /// /// 应收仓储费_OUT /// public decimal GOODSOUTFEE { get { return _goodsoutfee; } set { _goodsoutfee = value; } } private decimal _goodspack = 0; /// /// 入库件数 /// public decimal GOODSPACK { get { return _goodspack; } set { _goodspack = value; } } private decimal _goodspackactual = 0; /// /// 实际件数 /// public decimal GOODSPACKACTUAL { get { return _goodspackactual; } set { _goodspackactual = value; } } private decimal _goodspackpfsl = 0; /// /// 出库件数 /// public decimal GOODSPACKPFSL { get { return _goodspackpfsl; } set { _goodspackpfsl = value; } } private decimal _goodspackstock = 0; /// /// 库存件数 /// public decimal GOODSPACKSTOCK { get { return _goodspackstock; } set { _goodspackstock = value; } } private decimal _goodsrksl = 0; /// /// 入库数量 /// public decimal GOODSRKSL { get { return _goodsrksl; } set { _goodsrksl = value; } } private decimal _goodsrkslactual = 0; /// /// 实际数量 /// public decimal GOODSRKSLACTUAL { get { return _goodsrkslactual; } set { _goodsrkslactual = value; } } private decimal _goodspfsl = 0; /// /// 出库数量 /// public decimal GOODSPFSL { get { return _goodspfsl; } set { _goodspfsl = value; } } private decimal _goodsstock = 0; /// /// 库存数量 /// public decimal GOODSSTOCK { get { return _goodsstock; } set { _goodsstock = value; } } private string _chargeunit = ""; /// /// 计费单位 /// public string CHARGEUNIT { get { return _chargeunit; } set { _chargeunit = value; } } private string _remark_out = ""; /// /// 备注_OUT /// public string REMARK_OUT { get { return _remark_out; } set { _remark_out = value; } } private int _feetype = 0; /// /// 费用类别 /// public int FEETYPE { get { return _feetype; } set { _feetype = value; } } private int _feegrade = 0; /// /// 计费等级 /// public int FEEGRADE { get { return _feegrade; } set { _feegrade = value; } } private int _feescale = 0; /// /// 计费区间 /// public int FEESCALE { get { return _feescale; } set { _feescale = value; } } private decimal _feeprice = 0; /// /// 计费单价/费率 /// public decimal FEEPRICE { get { return _feeprice; } set { _feeprice = value; } } private string _startbillingdate = ""; /// /// 应收开始计费日期 /// public string STARTBILLINGDATE { get { return _startbillingdate; } set { _startbillingdate = value; } } private string _endbillingdate = ""; /// /// 应收结束计费日期 /// public string ENDBILLINGDATE { get { return _endbillingdate; } set { _endbillingdate = value; } } private int _feedays = 0; /// /// 应收计费天数 /// public int FEEDAYS { get { return _feedays; } set { _feedays = value; } } private decimal _outfee = 0; /// /// 应收仓储费 /// public decimal OUTFEE { get { return _outfee; } set { _outfee = value; } } private decimal _arfee = 0; /// /// 应收出库费 /// public decimal ARFEE { get { return _arfee; } set { _arfee = value; } } private string _createuser = ""; /// /// 创建人 /// public string CREATEUSER { get { return _createuser; } set { _createuser = value; } } private DateTime _createtime = DateTime.Now; /// /// 创建时间 /// public DateTime CREATETIME { get { return _createtime; } set { _createtime = value; } } private bool _ismakeout = false; /// /// 是否重新生成过 /// public bool ISMAKEOUT { get { return _ismakeout; } set { _ismakeout = value; } } private string _makeoutuser = ""; /// /// 重新生成人 /// public string MAKEOUTUSER { get { return _makeoutuser; } set { _makeoutuser = value; } } private DateTime _makeouttime = DateTime.Now; /// /// 重新生成时间 /// public DateTime MAKEOUTTIME { get { return _makeouttime; } set { _makeouttime = value; } } private string _corpid = ""; /// /// 分公司代码 /// public string CORPID { get { return _corpid; } set { _corpid = value; } } private int _linenum = 0; /// /// 行号 /// public int LINENUM { get { return _linenum; } set { _linenum = value; } } private string _duigid = ""; /// /// 对账惟一GID /// public string DUIGID { get { return _duigid; } set { _duigid = value; } } private string _duino = ""; /// /// 对账编号 /// public string DUINO { get { return _duino; } set { _duino = value; } } private string _gid_link = ""; /// /// 出入库主表关联GID /// public string GID_LINK { get { return _gid_link; } set { _gid_link = value; } } #endregion public RptWmsSettleDetailEntity() { TableName = "wms_Settle_detail"; } override public string GetBillNoFieldName() { return "GID"; } } }