using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCrmQuotation
{
[JsonObject]
public class MsCrmQuotationEntity : ModelObjectBillHead
{
#region 属性
private string _gid = "";
///
/// 惟一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _clientgid = "";
///
/// 相关联的潜在客户GID
///
[ModelDB]
public string CLIENTGID
{
get { return _clientgid; }
set { _clientgid = value; }
}
private string _shortname = "";
///
/// 客户简称
///
[ModelDB]
public string SHORTNAME
{
get { return _shortname; }
set { _shortname = value; }
}
private string _description = "";
///
/// 客户全称
///
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _sale = "";
///
/// 销售
///
[ModelDB]
public string SALE
{
get { return _sale; }
set { _sale = value; }
}
private DateTime _quotationdate = DateTime.Now;
///
/// 报价日期
///
[ModelDB]
public DateTime QUOTATIONDATE
{
get { return _quotationdate; }
set { _quotationdate = value; }
}
private string _corpid = "";
///
/// 所属分公司代码
///
[ModelDB]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _portload = "";
///
/// 起运港(默认青岛)
///
[ModelDB]
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _portdischarge = "";
///
/// 目的港
///
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _lane = "";
///
/// 航线
///
[ModelDB]
public string LANE
{
get { return _lane; }
set { _lane = value; }
}
private string _carrier = "";
///
/// 船公司
///
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private DateTime _etd = DateTime.Now;
///
/// 开船日期
///
[ModelDB]
public DateTime ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _entreport = "";
///
/// 中转港
///
[ModelDB]
public string ENTREPORT
{
get { return _entreport; }
set { _entreport = value; }
}
private string _tt = "";
///
/// 航程
///
[ModelDB]
public string TT
{
get { return _tt; }
set { _tt = value; }
}
private string _goodsname = "";
///
/// 品名
///
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
///
/// 创建人
///
[ModelDB]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 最后一次更新操作人
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次更新操作时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _contactname = "";
///
/// 客户联系人
///
[ModelDB]
public string CONTACTNAME
{
get { return _contactname; }
set { _contactname = value; }
}
private DateTime _validdate = DateTime.Now;
///
/// 有效期
///
[ModelDB]
public DateTime VALIDDATE
{
get { return _validdate; }
set { _validdate = value; }
}
private string _week = "";
///
/// 开船日期所属星期几
///
[ModelDB]
public string WEEK
{
get { return _week; }
set { _week = value; }
}
private string _quotationcode = "";
///
/// 报价编号
///
[ModelDB]
public string QUOTATIONCODE
{
get { return _quotationcode; }
set { _quotationcode = value; }
}
private string _tel = "";
///
/// 联系方式
///
[ModelDB]
public string TEL
{
get { return _tel; }
set { _tel = value; }
}
private string _email = "";
///
/// 邮箱
///
[ModelDB]
public string EMAIL
{
get { return _email; }
set { _email = value; }
}
private string _ctncode = "";
///
/// 箱型
///
[ModelDB]
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private int _ctnnum = 0;
///
/// 箱量
///
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private string _goodstype = "";
///
/// 产品类别
///
[ModelDB]
public string GOODSTYPE
{
get { return _goodstype; }
set { _goodstype = value; }
}
private string _service = "";
///
/// 运输条款
///
[ModelDB]
public string SERVICE
{
get { return _service; }
set { _service = value; }
}
private string _ctnstatus = "";
///
/// 箱状态
///
[ModelDB]
public string CTNSTATUS
{
get { return _ctnstatus; }
set { _ctnstatus = value; }
}
private string _forwarder = "";
///
/// 使用代理
///
[ModelDB]
public string FORWARDER
{
get { return _forwarder; }
set { _forwarder = value; }
}
private Decimal _commissionrate = 0;
///
/// 佣金比率
///
[ModelDB]
public Decimal COMMISSIONRATE
{
get { return _commissionrate; }
set { _commissionrate = value; }
}
private int _fbpportload = 0;
///
/// 起运港免箱天数
///
[ModelDB]
public int FBPPORTLOAD
{
get { return _fbpportload; }
set { _fbpportload = value; }
}
private string _cqportload = "";
///
/// 起运港超期标准
///
[ModelDB]
public string CQPORTLOAD
{
get { return _cqportload; }
set { _cqportload = value; }
}
private int _fbpportdischarge = 0;
///
/// 目的港免箱天数
///
[ModelDB]
public int FBPPORTDISCHARGE
{
get { return _fbpportdischarge; }
set { _fbpportdischarge = value; }
}
private string _cqportdischarge = "";
///
/// 目的港超期标准
///
[ModelDB]
public string CQPORTDISCHARGE
{
get { return _cqportdischarge; }
set { _cqportdischarge = value; }
}
private Decimal _RMBHJ = 0;
///
/// 人民币合计//需求编号:SR2017071700006-2、3、4
///
public Decimal RMBHJ
{
get { return _RMBHJ; }
set { _RMBHJ = value; }
}
private Decimal _USDHJ = 0;
///
/// 其他币别合计//需求编号:SR2017071700006-2、3、4
///
public Decimal USDHJ
{
get { return _USDHJ; }
set { _USDHJ = value; }
}
private string _unno = "";
///
/// UNNO//需求编号:SR2017080400003
///
[ModelDB]
public string UNNO
{
get { return _unno; }
set { _unno = value; }
}
private string _dclass = "";
///
/// DCLASS//需求编号:SR2017080400003
///
[ModelDB]
public string DCLASS
{
get { return _dclass; }
set { _dclass = value; }
}
#endregion
public MsCrmQuotationEntity()
{
TableName = "crm_quotation";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class CodeMsdsEntity : ModelObjectBillHead
{
#region 属性
private string _gid = "";
///
/// GID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _goodname = "";
///
/// GOODNAME
///
[ModelDB]
public string GOODNAME
{
get { return _goodname; }
set { _goodname = value; }
}
private string _tradegoodsname = "";
///
/// TRADEGOODSNAME
///
[ModelDB]
public string TRADEGOODSNAME
{
get { return _tradegoodsname; }
set { _tradegoodsname = value; }
}
private string _chemicalgoodsname = "";
///
/// CHEMICALGOODSNAME
///
[ModelDB]
public string CHEMICALGOODSNAME
{
get { return _chemicalgoodsname; }
set { _chemicalgoodsname = value; }
}
private string _chemicalcgoodsname = "";
///
/// CHEMICALCGOODSNAME
///
[ModelDB]
public string CHEMICALCGOODSNAME
{
get { return _chemicalcgoodsname; }
set { _chemicalcgoodsname = value; }
}
private string _casno = "";
///
/// CASNO
///
[ModelDB]
public string CASNO
{
get { return _casno; }
set { _casno = value; }
}
private string _unno = "";
///
/// UNNO
///
[ModelDB]
public string UNNO
{
get { return _unno; }
set { _unno = value; }
}
private string _dclass = "";
///
/// DCLASS
///
[ModelDB]
public string DCLASS
{
get { return _dclass; }
set { _dclass = value; }
}
private string _sdclass = "";
///
/// SDCLASS
///
[ModelDB]
public string SDCLASS
{
get { return _sdclass; }
set { _sdclass = value; }
}
private string _packinggroup = "";
///
/// PACKINGGROUP
///
[ModelDB]
public string PACKINGGROUP
{
get { return _packinggroup; }
set { _packinggroup = value; }
}
private bool _ispolluteocean = false;
///
/// ISPOLLUTEOCEAN
///
[ModelDB]
public bool ISPOLLUTEOCEAN
{
get { return _ispolluteocean; }
set { _ispolluteocean = value; }
}
private string _meltingpointb = "";
///
/// MELTINGPOINTB
///
[ModelDB]
public string MELTINGPOINTB
{
get { return _meltingpointb; }
set { _meltingpointb = value; }
}
private string _boilingpointb = "";
///
/// BOILINGPOINTB
///
[ModelDB]
public string BOILINGPOINTB
{
get { return _boilingpointb; }
set { _boilingpointb = value; }
}
private string _flashpointb = "";
///
/// FLASHPOINTB
///
[ModelDB]
public string FLASHPOINTB
{
get { return _flashpointb; }
set { _flashpointb = value; }
}
private string _meltingpointe = "";
///
/// MELTINGPOINTE
///
[ModelDB]
public string MELTINGPOINTE
{
get { return _meltingpointe; }
set { _meltingpointe = value; }
}
private string _boilingpointe = "";
///
/// BOILINGPOINTE
///
[ModelDB]
public string BOILINGPOINTE
{
get { return _boilingpointe; }
set { _boilingpointe = value; }
}
private string _flashpointe = "";
///
/// FLASHPOINTE
///
[ModelDB]
public string FLASHPOINTE
{
get { return _flashpointe; }
set { _flashpointe = value; }
}
private string _density = "";
///
/// DENSITY
///
[ModelDB]
public string DENSITY
{
get { return _density; }
set { _density = value; }
}
private string _ph = "";
///
/// PH
///
[ModelDB]
public string PH
{
get { return _ph; }
set { _ph = value; }
}
private string _stability = "";
///
/// STABILITY
///
[ModelDB]
public string STABILITY
{
get { return _stability; }
set { _stability = value; }
}
private string _reactive = "";
///
/// REACTIVE
///
[ModelDB]
public string REACTIVE
{
get { return _reactive; }
set { _reactive = value; }
}
private string _imdg = "";
///
/// IMDG
///
[ModelDB]
public string IMDG
{
get { return _imdg; }
set { _imdg = value; }
}
private string _remarks = "";
///
/// REMARKS
///
[ModelDB]
public string REMARKS
{
get { return _remarks; }
set { _remarks = value; }
}
private string _inputby = "";
///
/// INPUTBY
///
[ModelDB]
public string INPUTBY
{
get { return _inputby; }
set { _inputby = value; }
}
private DateTime _inputtime = DateTime.Now;
///
/// INPUTTIME
///
[ModelDB]
public DateTime INPUTTIME
{
get { return _inputtime; }
set { _inputtime = value; }
}
private string _companyid = "";
///
/// COMPANYID
///
[ModelDB]
public string COMPANYID
{
get { return _companyid; }
set { _companyid = value; }
}
private bool _isdangerous = false;
///
/// ISDANGEROUS
///
[ModelDB]
public bool ISDANGEROUS
{
get { return _isdangerous; }
set { _isdangerous = value; }
}
private string _CodeAndName = "";
///
/// CodeAndName//需求编号:SR2017072600008-1
///
public string CodeAndName
{
get { return _CodeAndName; }
set { _CodeAndName = value; }
}
#endregion
public CodeMsdsEntity()
{
TableName = "code_msds";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class CrmQuotationDetailEntity : ModelObjectBillHead
{
#region 属性
private string _gid = "";
///
/// 惟一编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkgid = "";
///
/// 主表关联GID
///
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _feetype = "";
///
/// 费用类型
///
[ModelDB]
public string FEETYPE
{
get { return _feetype; }
set { _feetype = value; }
}
private string _feename = "";
///
/// 费用中文名称
///
[ModelDB]
public string FEENAME
{
get { return _feename; }
set { _feename = value; }
}
private string _unit = "";
///
/// 单位标准
///
[ModelDB]
public string UNIT
{
get { return _unit; }
set { _unit = value; }
}
private decimal _unitprice = 0;
///
/// 单价
///
[ModelDB]
public decimal UNITPRICE
{
get { return _unitprice; }
set { _unitprice = value; }
}
private string _currency = "";
///
/// 币别
///
[ModelDB]
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
private string _carrier = "";
///
/// 船公司
///
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
///
/// 创建人
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 最后一次更新操作人
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次更新操作时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private decimal _USDHJ = 0;
///
/// 除RMB外折合USD金额
///
[ModelDB]
public decimal USDHJ
{
get { return _USDHJ; }
set { _USDHJ = value; }
}
private decimal _RMBHJ = 0;
///
/// RMB金额
///
public decimal RMBHJ
{
get { return _RMBHJ; }
set { _RMBHJ = value; }
}
#endregion
public CrmQuotationDetailEntity()
{
TableName = "crm_quotation_detail";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}