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.
467 lines
11 KiB
C#
467 lines
11 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.WMSRate
|
|
{
|
|
[JsonObject]
|
|
public class WMSRate : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private int _feegrade = 0;
|
|
/// <summary>
|
|
/// 计费等级
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int FEEGRADE
|
|
{
|
|
get { return _feegrade; }
|
|
set { _feegrade = value; }
|
|
}
|
|
|
|
private int _feescale = 0;
|
|
/// <summary>
|
|
/// 计费区间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int FEESCALE
|
|
{
|
|
get { return _feescale; }
|
|
set { _feescale = value; }
|
|
}
|
|
|
|
private decimal _feeprice = 0;
|
|
/// <summary>
|
|
/// 计费单价
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FEEPRICE
|
|
{
|
|
get { return _feeprice; }
|
|
set { _feeprice = value; }
|
|
}
|
|
|
|
private string _feeunit = "";
|
|
/// <summary>
|
|
/// 计费单位
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FEEUNIT
|
|
{
|
|
get { return _feeunit; }
|
|
set { _feeunit = 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 string _remark = "";
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
private string _bsno = "";
|
|
/// <summary>
|
|
/// 关联wms的GID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BSNO
|
|
{
|
|
get { return _bsno; }
|
|
set { _bsno = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// 客户名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private int _feetype = 0;
|
|
/// <summary>
|
|
/// 费用类别
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int FEETYPE
|
|
{
|
|
get { return _feetype; }
|
|
set { _feetype = value; }
|
|
}
|
|
|
|
private String _endbillingdate;
|
|
/// <summary>
|
|
/// 结束计费日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public String ENDBILLINGDATE
|
|
{
|
|
get { return _endbillingdate; }
|
|
set { _endbillingdate = value; }
|
|
}
|
|
|
|
private decimal _addprice = 0;
|
|
/// <summary>
|
|
/// 增值价
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal ADDPRICE
|
|
{
|
|
get { return _addprice; }
|
|
set { _addprice = value; }
|
|
}
|
|
|
|
private int _ratetype = 0;
|
|
/// <summary>
|
|
/// 费率类型
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int RATETYPE
|
|
{
|
|
get { return _ratetype; }
|
|
set { _ratetype = value; }
|
|
}
|
|
|
|
private string _feename = "";
|
|
/// <summary>
|
|
/// 费用中文名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FEENAME
|
|
{
|
|
get { return _feename; }
|
|
set { _feename = value; }
|
|
}
|
|
|
|
private bool _ischange = false;
|
|
/// <summary>
|
|
/// 是否是货权转移
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISCHANGE
|
|
{
|
|
get { return _ischange; }
|
|
set { _ischange = value; }
|
|
}
|
|
|
|
private decimal _capprice = 0;
|
|
/// <summary>
|
|
/// 封顶价
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal CAPPRICE
|
|
{
|
|
get { return _capprice; }
|
|
set { _capprice = value; }
|
|
}
|
|
|
|
private string _FEETYPENAME = "";
|
|
/// <summary>
|
|
/// 费用类别名称
|
|
/// </summary>
|
|
public string FEETYPENAME
|
|
{
|
|
get { return _FEETYPENAME; }
|
|
set { _FEETYPENAME = value; }
|
|
}
|
|
#endregion
|
|
|
|
public WMSRate()
|
|
{
|
|
TableName = "wms_rate";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class WmsRateDetail : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// 惟一编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private string _associatedno = "";
|
|
/// <summary>
|
|
/// 关联号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ASSOCIATEDNO
|
|
{
|
|
get { return _associatedno; }
|
|
set { _associatedno = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// 客户名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private int _feetype = 0;
|
|
/// <summary>
|
|
/// 费用类别
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int FEETYPE
|
|
{
|
|
get { return _feetype; }
|
|
set { _feetype = value; }
|
|
}
|
|
|
|
private int _feegrade = 0;
|
|
/// <summary>
|
|
/// 计费等级
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int FEEGRADE
|
|
{
|
|
get { return _feegrade; }
|
|
set { _feegrade = value; }
|
|
}
|
|
|
|
private DateTime _startbillingdate;
|
|
/// <summary>
|
|
/// 开始计费日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime STARTBILLINGDATE
|
|
{
|
|
get { return _startbillingdate; }
|
|
set { _startbillingdate = value; }
|
|
}
|
|
|
|
private DateTime _endbillingdate;
|
|
/// <summary>
|
|
/// 结束计费日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime ENDBILLINGDATE
|
|
{
|
|
get { return _endbillingdate; }
|
|
set { _endbillingdate = value; }
|
|
}
|
|
|
|
private int _feescale = 0;
|
|
/// <summary>
|
|
/// 计费区间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int FEESCALE
|
|
{
|
|
get { return _feescale; }
|
|
set { _feescale = value; }
|
|
}
|
|
|
|
private string _feeunit = "";
|
|
/// <summary>
|
|
/// 计费单位
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FEEUNIT
|
|
{
|
|
get { return _feeunit; }
|
|
set { _feeunit = value; }
|
|
}
|
|
|
|
private decimal _feeprice = 0;
|
|
/// <summary>
|
|
/// 计费单价
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FEEPRICE
|
|
{
|
|
get { return _feeprice; }
|
|
set { _feeprice = value; }
|
|
}
|
|
|
|
private decimal _goodspfsl = 0;
|
|
/// <summary>
|
|
/// 出库量
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal GOODSPFSL
|
|
{
|
|
get { return _goodspfsl; }
|
|
set { _goodspfsl = value; }
|
|
}
|
|
|
|
private decimal _outfee = 0;
|
|
/// <summary>
|
|
/// 仓储费
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal OUTFEE
|
|
{
|
|
get { return _outfee; }
|
|
set { _outfee = 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 string _wmsoutgid = "";
|
|
/// <summary>
|
|
/// WMSOUTGID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string WMSOUTGID
|
|
{
|
|
get { return _wmsoutgid; }
|
|
set { _wmsoutgid = value; }
|
|
}
|
|
|
|
private string _FEETYPENAME = "";
|
|
/// <summary>
|
|
/// FEETYPENAME
|
|
/// </summary>
|
|
public string FEETYPENAME
|
|
{
|
|
get { return _FEETYPENAME; }
|
|
set { _FEETYPENAME = value; }
|
|
}
|
|
#endregion
|
|
|
|
public WmsRateDetail()
|
|
{
|
|
TableName = "wms_rate_detail";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
//
|
|
}
|