using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DSWeb.Models { public class OpseanEntity { public OpseanEntity() { } #region//内贸委托表的实体类 /// /// 编号(随机newid()生成) /// private string _bsno; public string BSNO { get { return _bsno; } set { _bsno = value; } } /// /// 委托方式:1直接录入,2计划引入 /// private string _ordertype; public string ORDERTYPE { get { return _ordertype; } set { _ordertype = value; } } /// /// 业务状态,默认False,锁定后不能做任何修改 /// private bool _bsstatus; public bool BSSTATUS { get { return _bsstatus; } set { _bsstatus = value; } } /// /// 费用状态,锁定及未锁定默认False,锁定后不能修改费用信息 /// private bool _feestatus; public bool FEESTATUS { get { return _feestatus; } set { _feestatus = value; } } /// /// 会计期间:统计信息的,可以修改日期 /// private string _accdate; public string ACCDATE { get { return _accdate; } set { _accdate = value; } } /// /// 运单号 /// private string _mblno; public string MBLNO { get { return _mblno; } set { _mblno = value; } } /// /// 委托编号:规则生成,在规则表中添加对应的数据 /// private string _custno; public string CUSTNO { get { return _custno; } set { _custno = value; } } /// /// 委托单位:从crm_client属性为委托单位的数据里边调入 /// private string _customername; public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } /// /// 发货人 /// private string _shipper; public string SHIPPER { get { return _shipper; } set { _shipper = value; } } /// /// 收货人 /// private string _consignee; public string CONSIGNEE { get { return _consignee; } set { _consignee = value; } } /// /// 船名:code_vessel,允许自己录入和选择 /// private string _vessel; public string VESSEL { get { return _vessel; } set { _vessel = value; } } /// /// 航次 /// private string _voyno; public string VOYNO { get { return _voyno; } set { _voyno = value; } } /// /// 开船日期 /// private DateTime _etd; public DateTime ETD { get { return _etd; } set { _etd = value; } } /// /// 到港日期 /// private DateTime _eta; public DateTime ETA { get { return _eta; } set { _eta = value; } } /// /// 装货港:自选,数据来自code_portload /// private string _portload; public string PORTLOAD { get { return _portload; } set { _portload = value; } } /// /// 卸货港:自选,数据来自code_portload /// private string _portdischarge; public string PORTDISCHARGE { get { return _portdischarge; } set { _portdischarge = value; } } /// /// 品名:来自code_goods /// private string _goodsname; public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } /// /// 毛重:默认为0 /// private decimal _grossweight; public decimal GROSSWEIGHT { get { return _grossweight; } set { _grossweight = value; } } /// /// 尺码:默认为0 /// private decimal _measurement; public decimal MEASUREMENT { get { return _measurement; } set { _measurement = value; } } /// /// 录入人:默认登录人 /// private string _inputby; public string INPUTBY { get { return _inputby; } set { _inputby = value; } } /// /// 录入时间:默认getdate() /// private DateTime _inputtime; public DateTime INPUTTIME { get { return _inputtime; } set { _inputtime = value; } } /// /// 分公司代码:默认登录人的公司ID /// private string _corpid; public string CORPID { get { return _corpid; } set { _corpid = value; } } /// /// 操作员:自sys_empolyee中属性为操作员的值 /// private string _op; public string OP { get { return _op; } set { _op = value; } } /// /// 揽货人:自sys_empolyee中属性为销售的值 /// private string _sale; public string SALE { get { return _sale; } set { _sale = value; } } /// /// 船公司:自crm_client中属性为船公司的值 /// private string _carrier; public string CARRIER { get { return _carrier; } set { _carrier = value; } } /// /// 修改信息的人 /// private string _updatepper; public string Updatepper { get { return _updatepper; } set { _updatepper = value; } } private DateTime _updatetime; /// /// 修改信息的时间 /// public DateTime Updatetime { get { return _updatetime; } set { _updatetime = value; } } private string _grossweightunit; /// /// 毛重的单位 /// public string Grossweightunit { get { return _grossweightunit; } set { _grossweightunit = value; } } private string _measurementunit; /// /// 尺码的单位 /// public string Measurementunit { get { return _measurementunit; } set { _measurementunit = value; } } private string _loadaddress; /// /// 装货地址 /// public string LOADADDRESS { get { return _loadaddress; } set { _loadaddress = value; } } private string _deliveraddress; /// /// 送货地址 /// public string DELIVERADDRESS { get { return _deliveraddress; } set { _deliveraddress = value; } } #endregion } }