using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.MsOpBill
{
[JsonObject]
public class MsOpBill : ModelObjectBillHead
{
#region 私有成员
private string _BSNO = "";//业务编号
private string _PARENTID = "";//业务编号
private bool _BSSTATUS;//业务状态
private bool _FEESTATUS;//费用锁定
private string _BSSTATUSREF = "";//会计期间
private string _FEESTATUSREF = "";//会计期间
private string _ACCDATE = "";//会计期间
private string _OPLB = "";//会计期间
private string _OPLBNAME = "";//会计期间
private string _BSTYPE = "";
private string _OPTYPE = "";
private string _MBLNO = "";//主提单号
private string _HBLNO = "";//分提单号
private string _CUSTNO = "";//委托编号
private string _CUSTOMNO = "";//报关单号
private string _ORDERNO = "";//报关单号
private string _INVNO = "";//发票号
private string _CUSTOMERNAME = "";//委托单位
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private string _ETD;//开船日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
//private string _CREATETIME;//录入人
private string _INPUTBY = "";//操作员
private string _SALE = "";//揽货人
private string _OP = "";//揽货人
private string _DOC = "";//揽货人
private string _CUSTSERVICE = "";//揽货人
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _ENTERP = "";//分公司代码
private string _CORPID = "";//分公司代码
private int _CUSTOMSNUM = 0;
private string _DRFEESTATUS = "";//分公司代码
private string _CRFEESTATUS = "";//分公司代码
private string _CNTRTOTAL = "";//分公司代码
private string _OPSTATUS = "";
private string _PKGS = "";
private string _KGS = "";
private string _CBM = "";
private string _BSCUSTOMNO = "";
private string _REMARK = "";
private string _TRADETERM = "";
private string _REASON = "";
private string _PLACERECEIPT = "";
private string _DESTINATION = "";
public string CREATETIME { get; set; }
public string BillFeeStatus { get; set; }
public string BILLFEEOP { get; set; }
public string CARGOID { get; set; }
public string DCLASS { get; set; }
#endregion
#region 读写属性
///
/// 业务编号
///
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
public string PARENTID { get { return _PARENTID; } set { _PARENTID = value; } }
///
/// 业务状态
///
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } }
public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } }
public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } }
///
/// 业务状态_中文
///
public string OPSTATUS
{
get { return _OPSTATUS; }
set { _OPSTATUS = value; }
}
///
/// 会计期间
///
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
public string OPLB { get { return _OPLB; } set { _OPLB = value; } }
public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } }
public string BSTYPE { get { return _BSTYPE; } set { _BSTYPE = value; } }
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
///
/// 主提单号
///
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
///
/// 分提单号
///
public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } }
///
/// 委托编号
///
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
//报关单号
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
public string ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } }
public string INVNO { get { return _INVNO; } set { _INVNO = 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 PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
///
/// 卸货港
///
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
///
/// 录入人
///
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
///
/// 操作员
///
public string OP { get { return _OP; } set { _OP = value; } }
///
/// 客服
///
public string CUSTSERVICE { get { return _CUSTSERVICE; } set { _CUSTSERVICE = value; } }
///
/// 单证
///
public string DOC { get { return _DOC; } set { _DOC = value; } }
///
/// 揽货人
///
public string SALE { get { return _SALE; } set { _SALE = value; } }
///
/// 业务来源
///
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
///
/// 来源明细
///
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
public int CUSTOMSNUM { get { return _CUSTOMSNUM; } set { _CUSTOMSNUM = value; } }
public string DRFEESTATUS { get { return _DRFEESTATUS; } set { _DRFEESTATUS = value; } }
public string CRFEESTATUS { get { return _CRFEESTATUS; } set { _CRFEESTATUS = value; } }
public string CNTRTOTAL { get { return _CNTRTOTAL; } set { _CNTRTOTAL = value; } }
public string PKGS { get { return _PKGS; } set { _PKGS = value; } }
public string KGS { get { return _KGS; } set { _KGS = value; } }
public string CBM { get { return _CBM; } set { _CBM = value; } }
public string BSCUSTOMNO { get { return _BSCUSTOMNO; } set { _BSCUSTOMNO = value; } }
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
public string REMARK2 { get; set; }
public string TRADETERM { get { return _TRADETERM; } set { _TRADETERM = value; } }
public string REASON { get { return _REASON; } set { _REASON = value; } }
public string PLACERECEIPT { get { return _PLACERECEIPT; } set { _PLACERECEIPT = value; } }
public string DESTINATION { get { return _DESTINATION; } set { _DESTINATION = value; } }
public string COMMISSIONRATE { get; set; }
public string GOODSNAME { get; set; }
public string BLFRT { get; set; }
public string CARRIER { get; set; }
public string YARD { get; set; }
public string FORWARDER { get; set; }
public string CONTRACTNO { get; set; }
public string ISSUETYPE { get; set; }
public string SERVICE { get; set; }
public string BILLFEESTATUSTIME { get; set; }
public string SALEDEPT { get; set; }
public string SALECORP { get; set; }
public string BLTYPE { get; set; }
public bool ETDCLOSE { get; set; }
public string ETDCLOSEREF { get; set; }
public bool DRCLOSE { get; set; }
public string DRCLOSEREF { get; set; }
public bool CRCLOSE { get; set; }
public string CRCLOSEREF { get; set; }
public string CLOSEETDDAY { get; set; }
public string SHIPAGENCY { get; set; }
public string AGENTID { get; set; }
public string CUSTOMSER { get; set; }
public string TRUCKER { get; set; }
#endregion
public MsOpBill()
{
TableName = "op_bill";
}
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
[JsonObject]
public class BillTruck
{
#region 私有成员
public string BSNO { get; set; }
public string TRANSTYPE { get; set; }
public string OPTYPE { get; set; }
public string TRANSSTATUS { get; set; }
public string CUSTOMERNAME { get; set; }
public string CUSTNO { get; set; }
public string MBLNO { get; set; }
public string CONTRACTNO { get; set; }
public string ORDERNO { get; set; }
public string BSDATE { get; set; }
public string ETD { get; set; }
public string ETA { get; set; }
public string OP { get; set; }
public string SALE { get; set; }
public string CUSTSERVICE { get; set; }
public string CUSTATTN { get; set; }
public string CUSTTEL { get; set; }
public string CONSIGNEENAME { get; set; }
public string CONSIGNEEATTN { get; set; }
public string CONSIGNEETEL { get; set; }
public string CONSIGNEEADDR { get; set; }
public string PORTLOAD { get; set; }
public string PORTDISCHARGE { get; set; }
public string GOODSNAME { get; set; }
public decimal KGS { get; set; }
public decimal NETWEIGHT { get; set; }
public decimal CBM { get; set; }
public int PKGS { get; set; }
public string KINDPKGS { get; set; }
public string TRUCKER { get; set; }
public string TRUCKNO { get; set; }
private string _RMBDRSTATUS = "";
private string _USDDRSTATUS = "";
#endregion
#region 读写属性
public string RMBDRSTATUS { get { return _RMBDRSTATUS; } set { _RMBDRSTATUS = value; } }
public string USDDRSTATUS { get { return _USDDRSTATUS; } set { _USDDRSTATUS = value; } }
#endregion
}
}