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/MsKfWx/MsKfWxHead.cs

212 lines
5.6 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsKfWx
{
[JsonObject]
public class MsKfWxHead : 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 _truckNo = String.Empty;
private string _truckNo_Ref = String.Empty;
private string _pgDate = String.Empty;
private string _gzBgnDate = String.Empty;
private string _gzEndDate = String.Empty;
private string _orgCode = String.Empty;
private string _orgCode_Ref = String.Empty;
private string _orgName = String.Empty;
private string _planEndDate = String.Empty;
private string _remark = String.Empty;
private decimal _realMil = 0;
private string _REPAIRDAYS = string.Empty;
private string _REPAIRAMOUNT = string.Empty;
private string _MATERIALAMOUNT = string.Empty;
private string _WORKAMOUNT = string.Empty;
private string _TYREAMOUNT = string.Empty;
private string _ACCDATE = 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]
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; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UserName
{
get { return _userName; }
set { _userName = value; }
}
public decimal TimeMark
{
get { return _timeMark; }
set { _timeMark = 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 PgDate
{
get { return _pgDate; }
set { _pgDate = value; }
}
[ModelDB]
public string GzBgnDate
{
get { return _gzBgnDate; }
set { _gzBgnDate = value; }
}
[ModelDB]
public string GzEndDate
{
get { return _gzEndDate; }
set { _gzEndDate = 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(MDBType = ModelDBOprationType.Insert)]
public string OrgName
{
get { return _orgName; }
set { _orgName = value; }
}
[ModelDB]
public string PlanEndDate
{
get { return _planEndDate; }
set { _planEndDate = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public decimal RealMil
{
get { return _realMil; }
set { _realMil = value; }
}
[ModelDB]
public string REPAIRDAYS
{
get { return _REPAIRDAYS; }
set { _REPAIRDAYS = value; }
}
[ModelDB]
public string REPAIRAMOUNT
{
get { return _REPAIRAMOUNT; }
set { _REPAIRAMOUNT = value; }
}
[ModelDB]
public string MATERIALAMOUNT
{
get { return _MATERIALAMOUNT; }
set { _MATERIALAMOUNT = value; }
}
[ModelDB]
public string WORKAMOUNT
{
get { return _WORKAMOUNT; }
set { _WORKAMOUNT = value; }
}
[ModelDB]
public string TYREAMOUNT
{
get { return _TYREAMOUNT; }
set { _TYREAMOUNT = value; }
}
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
#endregion
public MsKfWxHead()
{
TableName = "tMsKfWxHead";
}
}
#region 参照部分
public class MsKfWxHeadRefMsWlTruck
{
public string TruckNo { get; set; }
public string TruckSpec { get; set; }
public string CodeAndName { get; set; }
}
public class MsKfWxHeadRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}