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.

1138 lines
27 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpOther
{
[JsonObject]
public class MsOpOtherEntity : ModelObjectBillHead
{
#region 属性
private string _BSNO = "topother" + Guid.NewGuid().ToString();//业务编号
public string BillFeeStatus { get; set; }
/// <summary>
/// 业务唯一编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
private string _oplb = "op_other";
/// <summary>
/// 业务类型op_other
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OPLB
{
get { return _oplb; }
set { _oplb = value; }
}
private string _oplbname = "散杂运输";
/// <summary>
/// 业务类型名称(散杂运输)
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OPLBNAME
{
get { return _oplbname; }
set { _oplbname = value; }
}
private bool _bsstatus = false;
/// <summary>
/// 业务状态接受委托false、业务封帐true和code_state 中的状态)
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool BSSTATUS
{
get { return _bsstatus; }
set { _bsstatus = value; }
}
private bool _feestatus = false;
/// <summary>
/// 费用状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool FEESTATUS
{
get { return _feestatus; }
set { _feestatus = value; }
}
private string _BSSTATUSREF = "";
/// <summary>
/// 业务状态接受委托false、业务封帐true和code_state 中的状态)
/// </summary>
public string BSSTATUSREF
{
get { return _BSSTATUSREF; }
set { _BSSTATUSREF = value; }
}
private string _FEESTATUSREF = "";
/// <summary>
/// 费用状态
/// </summary>
public string FEESTATUSREF
{
get { return _FEESTATUSREF; }
set { _FEESTATUSREF = value; }
}
private string _custno = "";
/// <summary>
/// 委托编号(可以根据规则生成)
/// </summary>
[ModelDB]
public string CUSTNO
{
get { return _custno; }
set { _custno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号(可以根据规则生成)
/// </summary>
[ModelDB]
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号(可以根据规则生成)
/// </summary>
[ModelDB]
public string HBLNO
{
get { return _hblno; }
set { _hblno = value; }
}
private string _contractno = "";
/// <summary>
/// 合同号
/// </summary>
[ModelDB]
public string CONTRACTNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _customername = "";
/// <summary>
/// 委托单位
/// </summary>
[ModelDB]
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
private string _bsdate = "";
/// <summary>
/// 接单日期
/// </summary>
[ModelDB]
public string BSDATE
{
get { return _bsdate; }
set { _bsdate = value; }
}
private string _accdate = "";
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get { return _accdate; }
set { _accdate = value; }
}
private string _bssource = "";
/// <summary>
/// 业务来源
/// </summary>
[ModelDB]
public string BSSOURCE
{
get { return _bssource; }
set { _bssource = value; }
}
private string _bssourcedetail = "";
/// <summary>
/// 来源明细
/// </summary>
[ModelDB]
public string BSSOURCEDETAIL
{
get { return _bssourcedetail; }
set { _bssourcedetail = value; }
}
private string _op = "";
/// <summary>
/// 操作员
/// </summary>
[ModelDB]
public string OP
{
get { return _op; }
set { _op = value; }
}
private string _custservice = "";
/// <summary>
/// 客服员
/// </summary>
[ModelDB]
public string CUSTSERVICE
{
get { return _custservice; }
set { _custservice = value; }
}
private string _frcustservice = "";
/// <summary>
/// 客服员
/// </summary>
[ModelDB]
public string FRCUSTSERVICE
{
get { return _frcustservice; }
set { _frcustservice = value; }
}
private string _sale = "";
/// <summary>
/// 揽货人
/// </summary>
[ModelDB]
public string SALE
{
get { return _sale; }
set { _sale = value; }
}
private string _saledept = "";
/// <summary>
/// 所属部门
/// </summary>
[ModelDB]
public string SALEDEPT
{
get { return _saledept; }
set { _saledept = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _salecorpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB]
public string SALECORPID
{
get { return _salecorpid; }
set { _salecorpid = value; }
}
private string _salecorp = "";
/// <summary>
/// 分公司代码
/// </summary>
public string SALECORP
{
get { return _salecorp; }
set { _salecorp = value; }
}
private string _transtype = "";
/// <summary>
/// 运输方式Code_trantype对应V_OP_BILL中的BSTYPE
/// </summary>
[ModelDB]
public string TRANSTYPE
{
get { return _transtype; }
set { _transtype = value; }
}
private string _operator = "";
/// <summary>
/// 客户操作名称
/// </summary>
[ModelDB]
public string OPERATOR
{
get { return _operator; }
set { _operator = value; }
}
private string _vessel = "";
/// <summary>
/// 运输工具(例:船名)
/// </summary>
[ModelDB]
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
/// <summary>
/// 班次号(例:航次)
/// </summary>
[ModelDB]
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _etd;
/// <summary>
/// 业务日期(到港/开船日期)
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _portload = "";
/// <summary>
/// 装货地
/// </summary>
[ModelDB]
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货地
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _tradetype = "";
/// <summary>
/// 贸易方式
/// </summary>
[ModelDB]
public string TRADETYPE
{
get { return _tradetype; }
set { _tradetype = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _netweight = 0;
/// <summary>
/// 净重
/// </summary>
[ModelDB]
public decimal NETWEIGHT
{
get { return _netweight; }
set { _netweight = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _CBM = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get { return _CBM; }
set { _CBM = value; }
}
private string _ctnall = "";
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private int _ctnnum = 0;
/// <summary>
/// 箱量
/// </summary>
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private string _ENTERP = "";
[ModelDB]
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
[ModelDB]
public string CARRIER { get; set; }
[ModelDB]
public string FORWARDER { get; set; }
[ModelDB]
public string TRUCKER { get; set; }
[ModelDB]
public string ISSUETYPE { get; set; }
private bool _isvou = false;
/// <summary>
/// 是否生成凭证
/// </summary>
public bool ISVOU
{
get { return _isvou; }
set { _isvou = value; }
}
private string _vouno = "";
/// <summary>
/// 凭证号
/// </summary>
public string VOUNO
{
get { return _vouno; }
set { _vouno = value; }
}
private string _stlname = "";
/// <summary>
/// 结算方式
/// </summary>
[ModelDB]
public string STLNAME
{
get { return _stlname; }
set { _stlname = value; }
}
private string _stldate;
/// <summary>
/// 结算时间
/// </summary>
[ModelDB]
public string STLDATE
{
get { return _stldate; }
set { _stldate = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
/// <summary>
/// 创建人
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = 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 _BOOKNO = "";
/// <summary>
/// 手册号
/// </summary>
[ModelDB]
public string BOOKNO
{
get { return _BOOKNO; }
set { _BOOKNO = value; }
}
private string _AMEND = "0";
/// <summary>
/// 是否有更改
/// </summary>
public string AMEND
{
get { return _AMEND; }
set { _AMEND = value; }
}
private string _ORDERNO = "";
/// <summary>
/// 订舱编号
/// </summary>
[ModelDB]
public string ORDERNO
{
get { return _ORDERNO; }
set { _ORDERNO = value; }
}
private string _CUSTOMSER = "";
/// <summary>
/// 报关行
/// </summary>
[ModelDB]
public string CUSTOMSER
{
get { return _CUSTOMSER; }
set { _CUSTOMSER = value; }
}
private string _WAREHOUSE = "";
/// <summary>
/// 仓库
/// </summary>
[ModelDB]
public string WAREHOUSE
{
get { return _WAREHOUSE; }
set { _WAREHOUSE = value; }
}
private string _COUNTRYOFORIGIN = "";
/// <summary>
/// 原产国
/// </summary>
[ModelDB]
public string COUNTRYOFORIGIN
{
get { return _COUNTRYOFORIGIN; }
set { _COUNTRYOFORIGIN = value; }
}
private string _IsSERVICE1 = "0";
private string _IsSERVICE2 = "0";
private string _IsSERVICE3 = "0";
private string _IsSERVICE4 = "0";
private string _IsSERVICE5 = "0";
private string _IsSERVICE6 = "0";
private string _IsSERVICE7 = "0";
private string _IsSERVICE8 = "0";
private string _IsSERVICE9 = "0";
private string _IsSERVICE10 = "0";
private string _IsSERVICE11 = "0";
private string _IsSERVICE12 = "0";
private string _IsSERVICE13 = "0";
private string _IsSERVICE14 = "0";
private string _IsSERVICE15 = "0";
private string _IsSERVICE16 = "0";
private string _SERVICE1 = "";
private string _SERVICE2 = "";
private string _SERVICE3 = "";
private string _SERVICE4 = "";
private string _SERVICE5 = "";
private string _SERVICE6 = "";
private string _SERVICE7 = "";
private string _SERVICE8 = "";
private string _SERVICE9 = "";
private string _SERVICE10 = "";
private string _SERVICE11 = "";
private string _SERVICE12 = "";
private string _SERVICE13 = "";
private string _SERVICE14 = "";
private string _SERVICE15 = "";
private string _SERVICE16 = "";
[ModelDB]
public string IsSERVICE1
{
get { return _IsSERVICE1; }
set { _IsSERVICE1 = value; }
}
[ModelDB]
public string IsSERVICE2
{
get { return _IsSERVICE2; }
set { _IsSERVICE2 = value; }
}
[ModelDB]
public string IsSERVICE3
{
get { return _IsSERVICE3; }
set { _IsSERVICE3 = value; }
}
[ModelDB]
public string IsSERVICE4
{
get { return _IsSERVICE4; }
set { _IsSERVICE4 = value; }
}
[ModelDB]
public string IsSERVICE5
{
get { return _IsSERVICE5; }
set { _IsSERVICE5 = value; }
}
[ModelDB]
public string IsSERVICE6
{
get { return _IsSERVICE6; }
set { _IsSERVICE6 = value; }
}
[ModelDB]
public string IsSERVICE7
{
get { return _IsSERVICE7; }
set { _IsSERVICE7 = value; }
}
[ModelDB]
public string IsSERVICE8
{
get { return _IsSERVICE8; }
set { _IsSERVICE8 = value; }
}
[ModelDB]
public string IsSERVICE9
{
get { return _IsSERVICE9; }
set { _IsSERVICE9 = value; }
}
[ModelDB]
public string IsSERVICE10
{
get { return _IsSERVICE10; }
set { _IsSERVICE10 = value; }
}
[ModelDB]
public string IsSERVICE11
{
get { return _IsSERVICE11; }
set { _IsSERVICE11 = value; }
}
[ModelDB]
public string IsSERVICE12
{
get { return _IsSERVICE12; }
set { _IsSERVICE12 = value; }
}
[ModelDB]
public string IsSERVICE13
{
get { return _IsSERVICE13; }
set { _IsSERVICE13 = value; }
}
[ModelDB]
public string IsSERVICE14
{
get { return _IsSERVICE14; }
set { _IsSERVICE14 = value; }
}
[ModelDB]
public string IsSERVICE15
{
get { return _IsSERVICE15; }
set { _IsSERVICE15 = value; }
}
[ModelDB]
public string IsSERVICE16
{
get { return _IsSERVICE16; }
set { _IsSERVICE16 = value; }
}
public string SERVICE1
{
get { return _SERVICE1; }
set { _SERVICE1 = value; }
}
public string SERVICE2
{
get { return _SERVICE2; }
set { _SERVICE2 = value; }
}
public string SERVICE3
{
get { return _SERVICE3; }
set { _SERVICE3 = value; }
}
public string SERVICE4
{
get { return _SERVICE4; }
set { _SERVICE4 = value; }
}
public string SERVICE5
{
get { return _SERVICE5; }
set { _SERVICE5 = value; }
}
public string SERVICE6
{
get { return _SERVICE6; }
set { _SERVICE6 = value; }
}
public string SERVICE7
{
get { return _SERVICE7; }
set { _SERVICE7 = value; }
}
public string SERVICE8
{
get { return _SERVICE8; }
set { _SERVICE8 = value; }
}
public string SERVICE9
{
get { return _SERVICE9; }
set { _SERVICE9 = value; }
}
public string SERVICE10
{
get { return _SERVICE10; }
set { _SERVICE10 = value; }
}
public string SERVICE11
{
get { return _SERVICE11; }
set { _SERVICE11 = value; }
}
public string SERVICE12
{
get { return _SERVICE12; }
set { _SERVICE12 = value; }
}
public string SERVICE13
{
get { return _SERVICE13; }
set { _SERVICE13 = value; }
}
public string SERVICE14
{
get { return _SERVICE14; }
set { _SERVICE14 = value; }
}
public string SERVICE15
{
get { return _SERVICE15; }
set { _SERVICE15 = value; }
}
public string SERVICE16
{
get { return _SERVICE16; }
set { _SERVICE16 = value; }
}
private string _DRFEESTATUS = "";
private string _CRFEESTATUS = "";
public string DRFEESTATUS { get { return _DRFEESTATUS; } set { _DRFEESTATUS = value; } }
public string CRFEESTATUS { get { return _CRFEESTATUS; } set { _CRFEESTATUS = value; } }
private string _ISPRINTPR = "";
public string ISPRINTPR
{
get { return _ISPRINTPR; }
set { _ISPRINTPR = value; }
}
private string _DRINVSTATUS = "";
public string DRINVSTATUS { get { return _DRINVSTATUS; } set { _DRINVSTATUS = value; } }
public string DRDUISTATUS { get; set; }
public string CRINVSTATUS { get; set; }
public string CRDUISTATUS { get; set; }
private string _closingdate;
/// <summary>
/// 截港日期
/// </summary>
[ModelDB]
public string CLOSINGDATE
{
get { return _closingdate; }
set { _closingdate = value; }
}
private string _closedocdate;
/// <summary>
/// 截单日期
/// </summary>
[ModelDB]
public string CLOSEDOCDATE
{
get { return _closedocdate; }
set { _closedocdate = value; }
}
[ModelDB]
public string INVDATE { get;set;}
public int CNTR1 { get; set; }
public int CNTR2 { get; set; }
public int CNTR3 { get; set; }
public int CNTR4 { get; set; }
public int CNTR5 { get; set; }
public int CNTR6 { get; set; }
public int CNTR7 { get; set; }
public int CNTR8 { get; set; }
public int CNTR9 { get; set; }
public int CNTR10 { get; set; }
public int OTCNTR { get; set; }
public int TEU { get; set; }
public string CNTRTOTAL { get; set; }
10 months ago
public string PRINTTIME { get; set; }
3 months ago
public string PRINTUSER { get; set; }
10 months ago
9 months ago
private string _BLISSUESTATUS = "";
public string BLISSUESTATUS
{
get { return _BLISSUESTATUS; }
set { _BLISSUESTATUS = value; }
}
10 months ago
#endregion
public MsOpOtherEntity()
{
TableName = "op_other";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
}
[JsonObject]
public class MsOpApplySum : ModelObjectBillHead
{
#region 读写属性
private int _nobill = 0;
private int _SERVICE1 = 0;
private int _SERVICE2 = 0;
private int _SERVICE3 = 0;
private int _SERVICE4 = 0;
private int _SERVICE5 = 0;
private int _SERVICE6 = 0;
private int _SERVICE7 = 0;
private int _SERVICE8 = 0;
private int _SERVICE9 = 0;
private int _SERVICE10 = 0;
private int _SERVICE11 = 0;
private int _SERVICE12 = 0;
private int _SERVICE13 = 0;
private int _SERVICE14 = 0;
private int _SERVICE15 = 0;
private int _SERVICE16 = 0;
/// <summary>
/// 提单份数
/// </summary>
public int NOBILL
{
get { return _nobill; }
set { _nobill = value; }
}
public int TEU { get; set; }
private int _customsnum = 0;
public int CUSTOMSNUM
{
get { return _customsnum; }
set { _customsnum = value; }
}
public int SERVICE1
{
get { return _SERVICE1; }
set { _SERVICE1 = value; }
}
public int SERVICE2
{
get { return _SERVICE2; }
set { _SERVICE2 = value; }
}
public int SERVICE3
{
get { return _SERVICE3; }
set { _SERVICE3 = value; }
}
public int SERVICE4
{
get { return _SERVICE4; }
set { _SERVICE4 = value; }
}
public int SERVICE5
{
get { return _SERVICE5; }
set { _SERVICE5 = value; }
}
public int SERVICE6
{
get { return _SERVICE6; }
set { _SERVICE6 = value; }
}
public int SERVICE7
{
get { return _SERVICE7; }
set { _SERVICE7 = value; }
}
public int SERVICE8
{
get { return _SERVICE8; }
set { _SERVICE8 = value; }
}
public int SERVICE9
{
get { return _SERVICE9; }
set { _SERVICE9 = value; }
}
public int SERVICE10
{
get { return _SERVICE10; }
set { _SERVICE10 = value; }
}
public int SERVICE11
{
get { return _SERVICE11; }
set { _SERVICE11 = value; }
}
public int SERVICE12
{
get { return _SERVICE12; }
set { _SERVICE12 = value; }
}
public int SERVICE13
{
get { return _SERVICE13; }
set { _SERVICE13 = value; }
}
public int SERVICE14
{
get { return _SERVICE14; }
set { _SERVICE14 = value; }
}
public int SERVICE15
{
get { return _SERVICE15; }
set { _SERVICE15 = value; }
}
public int SERVICE16
{
get { return _SERVICE16; }
set { _SERVICE16 = value; }
}
public int CNTR1 { get; set; }
public int CNTR2 { get; set; }
public int CNTR3 { get; set; }
public int CNTR4 { get; set; }
public int CNTR5 { get; set; }
public int CNTR6 { get; set; }
public int CNTR7 { get; set; }
public int CNTR8 { get; set; }
public int CNTR9 { get; set; }
public int CNTR10 { get; set; }
public int OTCNTR { get; set; }
public int PKGS { get; set; }
public decimal KGS { get; set; }
public decimal CBM { get; set; }
#endregion
}
[JsonObject]
public class ENTERP : ModelObjectBase
{
#region private Fields
private string _CUSTOMER = string.Empty;
private string _ENTERPID = string.Empty;
#endregion
#region Public Properties
public string ENTERPID
{
get { return _ENTERPID; }
set { _ENTERPID = value; }
}
public string CUSTOMER
{
get { return _CUSTOMER; }
set { _CUSTOMER = value; }
}
#endregion
}
}