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.

164 lines
4.2 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreWx
{
[JsonObject]
public class MsWlTyreWx : 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 _wxTotal = 0;
private string _wxDate = String.Empty;
private string _etpName = 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 WxTotal
{
get { return _wxTotal; }
set { _wxTotal = value; }
}
[ModelDB]
public string WxDate
{
get { return _wxDate; }
set { _wxDate = value; }
}
[ModelDB]
public string EtpName
{
get { return _etpName; }
set { _etpName = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public MsWlTyreWx()
{
TableName = "tMsWlTyreWx";
}
}
#region 参照部分
public class MsWlTyreWxRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
public class MsWlTyreWxRefMsWlTruck
{
public string TruckNo { get; set; }
public string TruckSpec { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}