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/TruckMng/Models/MsLsKcPc/MsLsKcPc.cs

124 lines
2.4 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsLsKcPc
{
[JsonObject]
public class MsLsKcPc: ModelObjectBase
{
#region private Fields
private decimal _serialNo = 0;
private string _orgCode = String.Empty;
private string _orgCode_Ref = String.Empty;
private string _ckCode = String.Empty;
private string _ckCode_Ref = String.Empty;
private string _pluCode = String.Empty;
private string _pluCode_Ref = String.Empty;
private string _spec = String.Empty;
private string _unit = String.Empty;
private string _pcNo = String.Empty;
private string _pluType = String.Empty;
private string _pluType_Ref = String.Empty;
private decimal _jhCount = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public decimal SerialNo
{
get {return _serialNo;}
set {_serialNo=value;}
}
[ModelDB]
public string OrgCode
{
get {return _orgCode;}
set {_orgCode=value;}
}
public string OrgCode_Ref
{
get {return _orgCode_Ref;}
set {_orgCode_Ref=value;}
}
[ModelDB]
public string CkCode
{
get {return _ckCode;}
set {_ckCode=value;}
}
public string CkCode_Ref
{
get {return _ckCode_Ref;}
set {_ckCode_Ref=value;}
}
[ModelDB]
public string PluCode
{
get {return _pluCode;}
set {_pluCode=value;}
}
public string PluCode_Ref
{
get {return _pluCode_Ref;}
set {_pluCode_Ref=value;}
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string Spec
{
get {return _spec;}
set {_spec=value;}
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string Unit
{
get {return _unit;}
set {_unit=value;}
}
[ModelDB]
public string PcNo
{
get {return _pcNo;}
set {_pcNo=value;}
}
[ModelDB]
public string PluType
{
get {return _pluType;}
set {_pluType=value;}
}
public string PluType_Ref
{
get {return _pluType_Ref;}
set {_pluType_Ref=value;}
}
[ModelDB]
public decimal JhCount
{
get {return _jhCount;}
set {_jhCount=value;}
}
#endregion
public MsLsKcPc()
{
TableName = "tMsLsKcPc";
}
}
#region 参照部分
public class MsLsKcPcRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}