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