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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCrmQuotation/MsCrmQuotationEntity.cs

975 lines
23 KiB
C#

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