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

178 lines
4.7 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlTyreRep
{
[JsonObject]
public class MsWlTyreRepHead : ModelObjectBillHead
{
#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 decimal _timeMark = 0;
private string _orgCode = String.Empty;
private string _orgCode_Ref = String.Empty;
private string _orgName = String.Empty;
private string _ckCode = "*";
private string _ckCode_Ref = "*";
private string _ckName = String.Empty;
private string _truckNo = String.Empty;
private string _truckNo_Ref = String.Empty;
private string _repDate = String.Empty;
private string _repCode = String.Empty;
private string _repCode_Ref = String.Empty;
private string _repName = 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; }
}
public decimal TimeMark
{
get { return _timeMark; }
set { _timeMark = 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(MDBType = ModelDBOprationType.Insert)]
public string CkCode
{
get { return _ckCode; }
set { _ckCode = value; }
}
public string CkCode_Ref
{
get { return _ckCode_Ref; }
set { _ckCode_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CkName
{
get { return _ckName; }
set { _ckName = 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 RepDate
{
get { return _repDate; }
set { _repDate = value; }
}
[ModelDB]
public string RepCode
{
get { return _repCode; }
set { _repCode = value; }
}
public string RepCode_Ref
{
get { return _repCode_Ref; }
set { _repCode_Ref = value; }
}
public string RepName
{
get { return _repName; }
set { _repName = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public MsWlTyreRepHead()
{
TableName = "tMsWlTyreRepHead";
}
}
#region 参照部分
public class MsWlTyreRepHeadRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
public class MsWlTyreRepHeadRefMsWlTruck
{
public string TruckNo { get; set; }
public string TruckSpec { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}