|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreScrap
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsWlTyreScrap : ModelObjectBase
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private decimal _serialNo = 0;
|
|
|
|
|
private string _orgCode = String.Empty;
|
|
|
|
|
private string _orgCode_Ref = String.Empty;
|
|
|
|
|
private string _truckNo = String.Empty;
|
|
|
|
|
private string _truckNo_Ref = String.Empty;
|
|
|
|
|
private string _pcNo = String.Empty;
|
|
|
|
|
private string _pluCode = String.Empty;
|
|
|
|
|
private string _pluCode_Ref = String.Empty;
|
|
|
|
|
private string _pluName = 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 decimal _realMil = 0;
|
|
|
|
|
private string _scrapDate = String.Empty;
|
|
|
|
|
private string _scrapReason = 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(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string OrgCode
|
|
|
|
|
{
|
|
|
|
|
get { return _orgCode; }
|
|
|
|
|
set { _orgCode = value; }
|
|
|
|
|
}
|
|
|
|
|
public string OrgCode_Ref
|
|
|
|
|
{
|
|
|
|
|
get { return _orgCode_Ref; }
|
|
|
|
|
set { _orgCode_Ref = 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 PcNo
|
|
|
|
|
{
|
|
|
|
|
get { return _pcNo; }
|
|
|
|
|
set { _pcNo = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PluCode
|
|
|
|
|
{
|
|
|
|
|
get { return _pluCode; }
|
|
|
|
|
set { _pluCode = value; }
|
|
|
|
|
}
|
|
|
|
|
public string PluCode_Ref
|
|
|
|
|
{
|
|
|
|
|
get { return _pluCode_Ref; }
|
|
|
|
|
set { _pluCode_Ref = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string PluName
|
|
|
|
|
{
|
|
|
|
|
get { return _pluName; }
|
|
|
|
|
set { _pluName = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
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 decimal RealMil
|
|
|
|
|
{
|
|
|
|
|
get { return _realMil; }
|
|
|
|
|
set { _realMil = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ScrapDate
|
|
|
|
|
{
|
|
|
|
|
get { return _scrapDate; }
|
|
|
|
|
set { _scrapDate = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ScrapReason
|
|
|
|
|
{
|
|
|
|
|
get { return _scrapReason; }
|
|
|
|
|
set { _scrapReason = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsWlTyreScrap()
|
|
|
|
|
{
|
|
|
|
|
TableName = "tMsWlTyreScrap";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
public class MsWlTyreScrapRefMsTruckOrg
|
|
|
|
|
{
|
|
|
|
|
public string OrgCode { get; set; }
|
|
|
|
|
public string OrgName { get; set; }
|
|
|
|
|
public string CodeAndName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class MsWlTyreScrapRefMsWlTruck
|
|
|
|
|
{
|
|
|
|
|
public string TruckNo { get; set; }
|
|
|
|
|
public string TruckSpec { get; set; }
|
|
|
|
|
public string CodeAndName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|