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

196 lines
5.2 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreCk
{
[JsonObject]
public class MsWlTyreCk : ModelObjectBase
{
#region private Fields
private string _billNo = "*";
private DateTime? _lrDate = null;
private DateTime? _jzDate = null;
private string _userCode = String.Empty;
private string _userCode_Ref = String.Empty;
private string _userName = String.Empty;
private string _orgCode = String.Empty;
private string _orgCode_Ref = String.Empty;
private string _orgName = String.Empty;
private string _truckNo = String.Empty;
private string _truckNo_Ref = String.Empty;
private string _cargoNo = String.Empty;
private string _pluCode = String.Empty;
private string _pluCode_Ref = String.Empty;
private string _tyreType = "0";
private string _tyreType_Ref = "0";
private string _tyrePos = String.Empty;
private string _tyrePos_Ref = String.Empty;
private string _ckDate = String.Empty;
private string _etpName = String.Empty;
private string _etpName_Ref = String.Empty;
private string _remark = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime? LrDate
{
get { return _lrDate; }
set { _lrDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime? JzDate
{
get { return _jzDate; }
set { _jzDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UserCode
{
get { return _userCode; }
set { _userCode = value; }
}
public string UserCode_Ref
{
get { return _userCode_Ref; }
set { _userCode_Ref = value; }
}
public string UserName
{
get { return _userName; }
set { _userName = 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; }
}
public string OrgName
{
get { return _orgName; }
set { _orgName = 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 CargoNo
{
get { return _cargoNo; }
set { _cargoNo = 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 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 CkDate
{
get { return _ckDate; }
set { _ckDate = value; }
}
[ModelDB]
public string EtpName
{
get { return _etpName; }
set { _etpName = value; }
}
public string EtpName_Ref
{
get { return _etpName_Ref; }
set { _etpName_Ref = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public MsWlTyreCk()
{
TableName = "tMsWlTyreCk";
}
}
#region 参照部分
public class MsWlTyreCkRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
public class MsWlTyreCkRefMsWlTruck
{
public string TruckNo { get; set; }
public string TruckSpec { get; set; }
public string CodeAndName { get; set; }
}
public class MsWlTyreCkRefMsJhSparepart
{
public string SparepartNo { get; set; }
public string CargoNo { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}