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

98 lines
2.3 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsLsKc
{
[JsonObject]
public class MsLsKc : 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 decimal _jxCount = 0;
private decimal _jxTotal = 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]
public decimal JxCount
{
get { return _jxCount; }
set { _jxCount = value; }
}
[ModelDB]
public decimal JxTotal
{
get { return _jxTotal; }
set { _jxTotal = value; }
}
#endregion
public MsLsKc()
{
TableName = "tMsLsKc";
}
}
#region 参照部分
public class MsLsKcRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}