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.
155 lines
3.9 KiB
C#
155 lines
3.9 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.MsTruckPlu
|
|
{
|
|
[JsonObject]
|
|
public class MsTruckPlu : ModelObjectBase
|
|
{
|
|
#region private Fields
|
|
|
|
private string _pluCode = String.Empty;
|
|
private string _pluName = String.Empty;
|
|
private string _unit = String.Empty;
|
|
private string _spec = String.Empty;
|
|
private decimal _weight = 0;
|
|
private string _volume = String.Empty;
|
|
private string _produce = String.Empty;
|
|
private string _grade = String.Empty;
|
|
private string _scEtpName = String.Empty;
|
|
private string _cargoNo = String.Empty;
|
|
private DateTime? _lrDate = null;
|
|
private string _userCode = String.Empty;
|
|
private string _userName = String.Empty;
|
|
private decimal _price = 0;
|
|
private string _pluCcYq = String.Empty;
|
|
private string _pluType = String.Empty;
|
|
private string _pluType_Ref = String.Empty;
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string PluCode
|
|
{
|
|
get { return _pluCode; }
|
|
set { _pluCode = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PluName
|
|
{
|
|
get { return _pluName; }
|
|
set { _pluName = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Unit
|
|
{
|
|
get { return _unit; }
|
|
set { _unit = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Spec
|
|
{
|
|
get { return _spec; }
|
|
set { _spec = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal Weight
|
|
{
|
|
get { return _weight; }
|
|
set { _weight = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Volume
|
|
{
|
|
get { return _volume; }
|
|
set { _volume = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Produce
|
|
{
|
|
get { return _produce; }
|
|
set { _produce = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Grade
|
|
{
|
|
get { return _grade; }
|
|
set { _grade = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ScEtpName
|
|
{
|
|
get { return _scEtpName; }
|
|
set { _scEtpName = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CargoNo
|
|
{
|
|
get { return _cargoNo; }
|
|
set { _cargoNo = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime? LrDate
|
|
{
|
|
get { return _lrDate; }
|
|
set { _lrDate = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string UserCode
|
|
{
|
|
get { return _userCode; }
|
|
set { _userCode = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string UserName
|
|
{
|
|
get { return _userName; }
|
|
set { _userName = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal Price
|
|
{
|
|
get { return _price; }
|
|
set { _price = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PluCcYq
|
|
{
|
|
get { return _pluCcYq; }
|
|
set { _pluCcYq = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PluType
|
|
{
|
|
get { return _pluType; }
|
|
set { _pluType = value; }
|
|
}
|
|
public string PluType_Ref
|
|
{
|
|
get { return _pluType_Ref; }
|
|
set { _pluType_Ref = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsTruckPlu()
|
|
{
|
|
TableName = "tMsTruckPlu";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
public class MsTruckPluRefSysEnumValue
|
|
{
|
|
public string EnumValueName { get; set; }
|
|
public string EnumValueID { get; set; }
|
|
public string CodeAndName { get; set; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
}
|