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/MsWlTyreRep/MsWlTyreRepBody.cs

186 lines
5.0 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreRep
{
[JsonObject]
public class MsWlTyreRepBody : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _pluCode = String.Empty;
private string _pluCode_Ref = String.Empty;
private string _pluName = String.Empty;
private string _spec = String.Empty;
private string _pcNo = String.Empty;
private string _tyreType = "0";
private string _tyreType_Ref = "0";
private string _tyrePos = String.Empty;
private string _tyrePos_Ref = String.Empty;
private string _newPluCode = String.Empty;
private string _newPluCode_Ref = String.Empty;
private string _newPluName = String.Empty;
private string _newSpec = String.Empty;
private string _newPcNo = String.Empty;
private string _tyreStatus = "0";
private string _tyreStatus_Ref = "0";
private string _remark = String.Empty;
private string _newTyreType = "0";
private string _newTyreType_Ref = "0";
private decimal _realMil = 0;
private decimal _planMil = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = 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 PluName
{
get { return _pluName; }
set { _pluName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string Spec
{
get { return _spec; }
set { _spec = value; }
}
[ModelDB]
public string PcNo
{
get { return _pcNo; }
set { _pcNo = 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 NewPluCode
{
get { return _newPluCode; }
set { _newPluCode = value; }
}
public string NewPluCode_Ref
{
get { return _newPluCode_Ref; }
set { _newPluCode_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string NewPluName
{
get { return _newPluName; }
set { _newPluName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string NewSpec
{
get { return _newSpec; }
set { _newSpec = value; }
}
[ModelDB]
public string NewPcNo
{
get { return _newPcNo; }
set { _newPcNo = value; }
}
[ModelDB]
public string TyreStatus
{
get { return _tyreStatus; }
set { _tyreStatus = value; }
}
public string TyreStatus_Ref
{
get { return _tyreStatus_Ref; }
set { _tyreStatus_Ref = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public decimal RealMil
{
get { return _realMil; }
set { _realMil = value; }
}
[ModelDB]
public decimal PlanMil
{
get { return _planMil; }
set { _planMil = value; }
}
[ModelDB]
public string NewTyreType
{
get { return _newTyreType; }
set { _newTyreType = value; }
}
public string NewTyreType_Ref
{
get { return _newTyreType_Ref; }
set { _newTyreType_Ref = value; }
}
#endregion
public MsWlTyreRepBody()
{
TableName = "tMsWlTyreRepBody";
}
}
#region 参照部分
#endregion
}