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/MsCrmPriceCarrier/MsCrmPriceCarrier.cs

1108 lines
25 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using HcUtility.Core;
using Newtonsoft.Json;
//需求编号SR2017091200003
namespace DSWeb.MvcShipping.Models.MsCrmPriceCarrier
{
[JsonObject]
public class MsCrmPriceCarrier : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 惟一编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private bool _lockflag = false;
/// <summary>
/// 是否锁定
/// </summary>
[ModelDB]
public bool LOCKFLAG
{
get { return _lockflag; }
set { _lockflag = value; }
}
private bool _isissue = false;
/// <summary>
/// 是否发布
/// </summary>
[ModelDB]
public bool ISISSUE
{
get { return _isissue; }
set { _isissue = value; }
}
private string _lane = "";
/// <summary>
/// 航线
/// </summary>
[ModelDB]
public string LANE
{
get { return _lane; }
set { _lane = value; }
}
private string _podload = "";
/// <summary>
/// 起运港
/// </summary>
[ModelDB]
public string PODLOAD
{
get { return _podload; }
set { _podload = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港ID
/// </summary>
[ModelDB]
public string PORTDISCHARGEID
{
get { return _portdischargeid; }
set { _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港中文
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _carrier = "";
/// <summary>
/// 船公司
/// </summary>
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _via = "";
/// <summary>
/// 中转港
/// </summary>
[ModelDB]
public string VIA
{
get { return _via; }
set { _via = value; }
}
private string _via2 = "";
/// <summary>
/// 中转港2
/// </summary>
[ModelDB]
public string VIA2
{
get { return _via2; }
set { _via2 = value; }
}
private string _etd = "";
/// <summary>
/// 开航日/船期
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _tt = "";
/// <summary>
/// 航程
/// </summary>
[ModelDB]
public string TT
{
get { return _tt; }
set { _tt = value; }
}
private string _CONTRACTNO = "";
/// <summary>
/// 运费协议号
/// </summary>
[ModelDB]
public string CONTRACTNO
{
get { return _CONTRACTNO; }
set { _CONTRACTNO = value; }
}
private DateTime _effectivedate;
/// <summary>
/// 生效期/开始日期
/// </summary>
[ModelDB]
public DateTime EFFECTIVEDATE
{
get { return _effectivedate; }
set { _effectivedate = value; }
}
private DateTime _validdate;
/// <summary>
/// 有效期/结束日期
/// </summary>
[ModelDB]
public DateTime VALIDDATE
{
get { return _validdate; }
set { _validdate = value; }
}
private string _commodity = "";
/// <summary>
/// 品名/特殊商品
/// </summary>
[ModelDB]
public string COMMODITY
{
get { return _commodity; }
set { _commodity = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public string INPUTBY
{
get { return _inputby; }
set { _inputby = value; }
}
private string _inputbyref = "";
public string INPUTBYREF
{
get { return _inputbyref; }
set { _inputbyref = value; }
}
private DateTime _inputtime = DateTime.Now;
/// <summary>
/// 录入日期
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public DateTime INPUTTIME
{
get { return _inputtime; }
set { _inputtime = value; }
}
private string _modifieduser = "";
/// <summary>
/// 最后一次操作人GID
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifytime = DateTime.Now;
/// <summary>
/// 最后修改日期
/// </summary>
[ModelDB]
public DateTime MODIFYTIME
{
get { return _modifytime; }
set { _modifytime = value; }
}
private string _fee0 = "";
/// <summary>
/// FEE0
/// </summary>
[ModelDB]
public string FEE0
{
get { return _fee0; }
set { _fee0 = value; }
}
private string _fee1 = "";
/// <summary>
/// FEE1
/// </summary>
[ModelDB]
public string FEE1
{
get { return _fee1; }
set { _fee1 = value; }
}
private string _fee2 = "";
/// <summary>
/// FEE2
/// </summary>
[ModelDB]
public string FEE2
{
get { return _fee2; }
set { _fee2 = value; }
}
private string _fee3 = "";
/// <summary>
/// FEE3
/// </summary>
[ModelDB]
public string FEE3
{
get { return _fee3; }
set { _fee3 = value; }
}
private string _fee4 = "";
/// <summary>
/// FEE4
/// </summary>
[ModelDB]
public string FEE4
{
get { return _fee4; }
set { _fee4 = value; }
}
private decimal _ctn00 = 0;
/// <summary>
/// CTN00
/// </summary>
[ModelDB]
public decimal CTN00
{
get { return _ctn00; }
set { _ctn00 = value; }
}
private decimal _ctn10 = 0;
/// <summary>
/// CTN10
/// </summary>
[ModelDB]
public decimal CTN10
{
get { return _ctn10; }
set { _ctn10 = value; }
}
private decimal _ctn20 = 0;
/// <summary>
/// CTN20
/// </summary>
[ModelDB]
public decimal CTN20
{
get { return _ctn20; }
set { _ctn20 = value; }
}
private decimal _ctn30 = 0;
/// <summary>
/// CTN30
/// </summary>
[ModelDB]
public decimal CTN30
{
get { return _ctn30; }
set { _ctn30 = value; }
}
private decimal _ctn40 = 0;
/// <summary>
/// CTN40
/// </summary>
[ModelDB]
public decimal CTN40
{
get { return _ctn40; }
set { _ctn40 = value; }
}
private decimal _ctn50 = 0;
/// <summary>
/// CTN50
/// </summary>
[ModelDB]
public decimal CTN50
{
get { return _ctn50; }
set { _ctn50 = value; }
}
private decimal _ctn60 = 0;
/// <summary>
/// CTN60
/// </summary>
[ModelDB]
public decimal CTN60
{
get { return _ctn60; }
set { _ctn60 = value; }
}
private decimal _ctn70 = 0;
/// <summary>
/// CTN70
/// </summary>
[ModelDB]
public decimal CTN70
{
get { return _ctn70; }
set { _ctn70 = value; }
}
private decimal _ctn80 = 0;
/// <summary>
/// CTN80
/// </summary>
[ModelDB]
public decimal CTN80
{
get { return _ctn80; }
set { _ctn80 = value; }
}
private decimal _ctn90 = 0;
/// <summary>
/// CTN90
/// </summary>
[ModelDB]
public decimal CTN90
{
get { return _ctn90; }
set { _ctn90 = value; }
}
private decimal _ctn01 = 0;
/// <summary>
/// CTN01
/// </summary>
[ModelDB]
public decimal CTN01
{
get { return _ctn01; }
set { _ctn01 = value; }
}
private decimal _ctn11 = 0;
/// <summary>
/// CTN11
/// </summary>
[ModelDB]
public decimal CTN11
{
get { return _ctn11; }
set { _ctn11 = value; }
}
private decimal _ctn21 = 0;
/// <summary>
/// CTN21
/// </summary>
[ModelDB]
public decimal CTN21
{
get { return _ctn21; }
set { _ctn21 = value; }
}
private decimal _ctn31 = 0;
/// <summary>
/// CTN31
/// </summary>
[ModelDB]
public decimal CTN31
{
get { return _ctn31; }
set { _ctn31 = value; }
}
private decimal _ctn41 = 0;
/// <summary>
/// CTN41
/// </summary>
[ModelDB]
public decimal CTN41
{
get { return _ctn41; }
set { _ctn41 = value; }
}
private decimal _ctn51 = 0;
/// <summary>
/// CTN51
/// </summary>
[ModelDB]
public decimal CTN51
{
get { return _ctn51; }
set { _ctn51 = value; }
}
private decimal _ctn61 = 0;
/// <summary>
/// CTN61
/// </summary>
[ModelDB]
public decimal CTN61
{
get { return _ctn61; }
set { _ctn61 = value; }
}
private decimal _ctn71 = 0;
/// <summary>
/// CTN71
/// </summary>
[ModelDB]
public decimal CTN71
{
get { return _ctn71; }
set { _ctn71 = value; }
}
private decimal _ctn81 = 0;
/// <summary>
/// CTN81
/// </summary>
[ModelDB]
public decimal CTN81
{
get { return _ctn81; }
set { _ctn81 = value; }
}
private decimal _ctn91 = 0;
/// <summary>
/// CTN91
/// </summary>
[ModelDB]
public decimal CTN91
{
get { return _ctn91; }
set { _ctn91 = value; }
}
private decimal _ctn02 = 0;
/// <summary>
/// CTN02
/// </summary>
[ModelDB]
public decimal CTN02
{
get { return _ctn02; }
set { _ctn02 = value; }
}
private decimal _ctn12 = 0;
/// <summary>
/// CTN12
/// </summary>
[ModelDB]
public decimal CTN12
{
get { return _ctn12; }
set { _ctn12 = value; }
}
private decimal _ctn22 = 0;
/// <summary>
/// CTN22
/// </summary>
[ModelDB]
public decimal CTN22
{
get { return _ctn22; }
set { _ctn22 = value; }
}
private decimal _ctn32 = 0;
/// <summary>
/// CTN32
/// </summary>
[ModelDB]
public decimal CTN32
{
get { return _ctn32; }
set { _ctn32 = value; }
}
private decimal _ctn42 = 0;
/// <summary>
/// CTN42
/// </summary>
[ModelDB]
public decimal CTN42
{
get { return _ctn42; }
set { _ctn42 = value; }
}
private decimal _ctn52 = 0;
/// <summary>
/// CTN52
/// </summary>
[ModelDB]
public decimal CTN52
{
get { return _ctn52; }
set { _ctn52 = value; }
}
private decimal _ctn62 = 0;
/// <summary>
/// CTN62
/// </summary>
[ModelDB]
public decimal CTN62
{
get { return _ctn62; }
set { _ctn62 = value; }
}
private decimal _ctn72 = 0;
/// <summary>
/// CTN72
/// </summary>
[ModelDB]
public decimal CTN72
{
get { return _ctn72; }
set { _ctn72 = value; }
}
private decimal _ctn82 = 0;
/// <summary>
/// CTN82
/// </summary>
[ModelDB]
public decimal CTN82
{
get { return _ctn82; }
set { _ctn82 = value; }
}
private decimal _ctn92 = 0;
/// <summary>
/// CTN92
/// </summary>
[ModelDB]
public decimal CTN92
{
get { return _ctn92; }
set { _ctn92 = value; }
}
private decimal _ctn03 = 0;
/// <summary>
/// CTN03
/// </summary>
[ModelDB]
public decimal CTN03
{
get { return _ctn03; }
set { _ctn03 = value; }
}
private decimal _ctn13 = 0;
/// <summary>
/// CTN13
/// </summary>
[ModelDB]
public decimal CTN13
{
get { return _ctn13; }
set { _ctn13 = value; }
}
private decimal _ctn23 = 0;
/// <summary>
/// CTN23
/// </summary>
[ModelDB]
public decimal CTN23
{
get { return _ctn23; }
set { _ctn23 = value; }
}
private decimal _ctn33 = 0;
/// <summary>
/// CTN33
/// </summary>
[ModelDB]
public decimal CTN33
{
get { return _ctn33; }
set { _ctn33 = value; }
}
private decimal _ctn43 = 0;
/// <summary>
/// CTN43
/// </summary>
[ModelDB]
public decimal CTN43
{
get { return _ctn43; }
set { _ctn43 = value; }
}
private decimal _ctn53 = 0;
/// <summary>
/// CTN53
/// </summary>
[ModelDB]
public decimal CTN53
{
get { return _ctn53; }
set { _ctn53 = value; }
}
private decimal _ctn63 = 0;
/// <summary>
/// CTN63
/// </summary>
[ModelDB]
public decimal CTN63
{
get { return _ctn63; }
set { _ctn63 = value; }
}
private decimal _ctn73 = 0;
/// <summary>
/// CTN73
/// </summary>
[ModelDB]
public decimal CTN73
{
get { return _ctn73; }
set { _ctn73 = value; }
}
private decimal _ctn83 = 0;
/// <summary>
/// CTN83
/// </summary>
[ModelDB]
public decimal CTN83
{
get { return _ctn83; }
set { _ctn83 = value; }
}
private decimal _ctn93 = 0;
/// <summary>
/// CTN93
/// </summary>
[ModelDB]
public decimal CTN93
{
get { return _ctn93; }
set { _ctn93 = value; }
}
private decimal _ctn04 = 0;
/// <summary>
/// CTN04
/// </summary>
[ModelDB]
public decimal CTN04
{
get { return _ctn04; }
set { _ctn04 = value; }
}
private decimal _ctn14 = 0;
/// <summary>
/// CTN14
/// </summary>
[ModelDB]
public decimal CTN14
{
get { return _ctn14; }
set { _ctn14 = value; }
}
private decimal _ctn24 = 0;
/// <summary>
/// CTN24
/// </summary>
[ModelDB]
public decimal CTN24
{
get { return _ctn24; }
set { _ctn24 = value; }
}
private decimal _ctn34 = 0;
/// <summary>
/// CTN34
/// </summary>
[ModelDB]
public decimal CTN34
{
get { return _ctn34; }
set { _ctn34 = value; }
}
private decimal _ctn44 = 0;
/// <summary>
/// CTN44
/// </summary>
[ModelDB]
public decimal CTN44
{
get { return _ctn44; }
set { _ctn44 = value; }
}
private decimal _ctn54 = 0;
/// <summary>
/// CTN54
/// </summary>
[ModelDB]
public decimal CTN54
{
get { return _ctn54; }
set { _ctn54 = value; }
}
private decimal _ctn64 = 0;
/// <summary>
/// CTN64
/// </summary>
[ModelDB]
public decimal CTN64
{
get { return _ctn64; }
set { _ctn64 = value; }
}
private decimal _ctn74 = 0;
/// <summary>
/// CTN74
/// </summary>
[ModelDB]
public decimal CTN74
{
get { return _ctn74; }
set { _ctn74 = value; }
}
private decimal _ctn84 = 0;
/// <summary>
/// CTN84
/// </summary>
[ModelDB]
public decimal CTN84
{
get { return _ctn84; }
set { _ctn84 = value; }
}
private decimal _ctn94 = 0;
/// <summary>
/// CTN94
/// </summary>
[ModelDB]
public decimal CTN94
{
get { return _ctn94; }
set { _ctn94 = value; }
}
#endregion
#region 新增读写属性 用于从合约生成的运价
private string _CONTRACTBSNO = "";
/// <summary>
/// 用于从 运价合约 生成的运价当中 记录运价合约序列号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CONTRACTBSNO
{
get { return _CONTRACTBSNO; }
set { _CONTRACTBSNO = value; }
}
/// <summary>
/// 小柜的费用明细 下同
/// </summary>
private string _CTN0PRICESTR;
public string CTN0PRICESTR
{
get { return _CTN0PRICESTR; }
set { _CTN0PRICESTR = value; }
}
private string _CTN1PRICESTR;
public string CTN1PRICESTR
{
get { return _CTN1PRICESTR; }
set { _CTN1PRICESTR = value; }
}
private string _CTN2PRICESTR;
public string CTN2PRICESTR
{
get { return _CTN2PRICESTR; }
set { _CTN2PRICESTR = value; }
}
private string _CTN3PRICESTR;
public string CTN3PRICESTR
{
get { return _CTN3PRICESTR; }
set { _CTN3PRICESTR = value; }
}
private string _CTN4PRICESTR;
public string CTN4PRICESTR
{
get { return _CTN4PRICESTR; }
set { _CTN4PRICESTR = value; }
}
private string _CTN0DETENTION;
/// <summary>
/// 小柜的免箱期 下同
/// </summary>
[ModelDB]
public string CTN0DETENTION
{
get { return _CTN0DETENTION; }
set { _CTN0DETENTION = value; }
}
private string _CTN1DETENTION;
[ModelDB]
public string CTN1DETENTION
{
get { return _CTN1DETENTION; }
set { _CTN1DETENTION = value; }
}
private string _CTN2DETENTION;
[ModelDB]
public string CTN2DETENTION
{
get { return _CTN2DETENTION; }
set { _CTN2DETENTION = value; }
}
private string _CTN3DETENTION;
[ModelDB]
public string CTN3DETENTION
{
get { return _CTN3DETENTION; }
set { _CTN3DETENTION = value; }
}
private string _CTN4DETENTION;
[ModelDB]
public string CTN4DETENTION
{
get { return _CTN4DETENTION; }
set { _CTN4DETENTION = value; }
}
#endregion
public MsCrmPriceCarrier()
{
TableName = "crm_price_carrier_2";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class XiaLaKuangModel : ModelObjectBillHead
{
#region 读写属性
private string _VALUE = "";
/// <summary>
/// 列名
/// </summary>
public string VALUE
{
get { return _VALUE; }
set { _VALUE = value; }
}
private string _NAME = "";
/// <summary>
/// 标题
/// </summary>
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
private string _CodeAndName = "";
/// <summary>
/// VALUE | NAME
/// </summary>
public string CodeAndName
{
get { return _CodeAndName; }
set { _CodeAndName = value; }
}
#endregion
public XiaLaKuangModel()
{
}
override public string GetBillNoFieldName()
{
return "VALUE";
}
}
[JsonObject]
public class CrmPriceCarrierDetailModel : 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>
/// 关联 crm_price_carrier_2 的 GID
/// </summary>
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _fieldname = "";
/// <summary>
/// 字段名称
/// </summary>
[ModelDB]
public string FIELDNAME
{
get { return _fieldname; }
set { _fieldname = value; }
}
private int _fieldtype = 0;
/// <summary>
/// 字段类型1.颜色2.修改次数3.标识
/// </summary>
[ModelDB]
public int FIELDTYPE
{
get { return _fieldtype; }
set { _fieldtype = value; }
}
private string _fieldcontent = "";
/// <summary>
/// 字段内容
/// </summary>
[ModelDB]
public string FIELDCONTENT
{
get { return _fieldcontent; }
set { _fieldcontent = value; }
}
private string _modifieduser = "";
/// <summary>
/// 最后一次操作人GID
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifytime = DateTime.Now;
/// <summary>
/// 最后修改日期
/// </summary>
[ModelDB]
public DateTime MODIFYTIME
{
get { return _modifytime; }
set { _modifytime = value; }
}
private string _hj = "";
/// <summary>
/// 合计的修改次数
/// </summary>
public string hj
{
get { return _hj; }
set { _hj = value; }
}
#endregion
public CrmPriceCarrierDetailModel()
{
TableName = "crm_price_carrier_detail";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}