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.
173 lines
4.4 KiB
C#
173 lines
4.4 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreAcc
|
|
{
|
|
[JsonObject]
|
|
public class MsWlTyreAcc : ModelObjectBase
|
|
{
|
|
#region private Fields
|
|
|
|
private decimal _serialNo = 0;
|
|
private string _truckNo = String.Empty;
|
|
private string _truckNo_Ref = String.Empty;
|
|
private string _pluCode = String.Empty;
|
|
private string _pluCode_Ref = String.Empty;
|
|
private string _Spec = String.Empty;
|
|
private string _tyreType = "0";
|
|
private string _tyreType_Ref = "0";
|
|
private string _tyrePos = String.Empty;
|
|
private string _tyrePos_Ref = String.Empty;
|
|
private string _pcNo = String.Empty;
|
|
private decimal _planMil = 0;
|
|
private string _useDate = String.Empty;
|
|
private string _roofDate = String.Empty;
|
|
private decimal _realMil = 0;
|
|
private string _scrapDate = String.Empty;
|
|
private decimal _scrapMil = 0;
|
|
private decimal _ykMil = 0;
|
|
private string _orgCode = String.Empty;
|
|
private string _remark = String.Empty;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public decimal SerialNo
|
|
{
|
|
get { return _serialNo; }
|
|
set { _serialNo = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TruckNo
|
|
{
|
|
get { return _truckNo; }
|
|
set { _truckNo = value; }
|
|
}
|
|
public string TruckNo_Ref
|
|
{
|
|
get { return _truckNo_Ref; }
|
|
set { _truckNo_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 string Spec
|
|
{
|
|
get { return _Spec; }
|
|
set { _Spec = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TyreType
|
|
{
|
|
get { return _tyreType; }
|
|
set { _tyreType = value; }
|
|
}
|
|
public string TyreType_Ref
|
|
{
|
|
get { return _tyreType_Ref; }
|
|
set { _tyreType_Ref = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TyrePos
|
|
{
|
|
get { return _tyrePos; }
|
|
set { _tyrePos = value; }
|
|
}
|
|
public string TyrePos_Ref
|
|
{
|
|
get { return _tyrePos_Ref; }
|
|
set { _tyrePos_Ref = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PcNo
|
|
{
|
|
get { return _pcNo; }
|
|
set { _pcNo = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal PlanMil
|
|
{
|
|
get { return _planMil; }
|
|
set { _planMil = value; }
|
|
}
|
|
[ModelDB]
|
|
public string UseDate
|
|
{
|
|
get { return _useDate; }
|
|
set { _useDate = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RoofDate
|
|
{
|
|
get { return _roofDate; }
|
|
set { _roofDate = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal RealMil
|
|
{
|
|
get { return _realMil; }
|
|
set { _realMil = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ScrapDate
|
|
{
|
|
get { return _scrapDate; }
|
|
set { _scrapDate = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal ScrapMil
|
|
{
|
|
get { return _scrapMil; }
|
|
set { _scrapMil = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal YkMil
|
|
{
|
|
get { return _ykMil; }
|
|
set { _ykMil = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string OrgCode
|
|
{
|
|
get { return _orgCode; }
|
|
set { _orgCode = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsWlTyreAcc()
|
|
{
|
|
TableName = "tMsWlTyreAcc";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
public class MsWlTyreAccRefMsWlTruck
|
|
{
|
|
public string TruckNo { get; set; }
|
|
public string TruckSpec { get; set; }
|
|
public string CodeAndName { get; set; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
}
|