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