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

141 lines
3.6 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsKfWx
{
[JsonObject]
public class MsKfWxBody : ModelObjectBillBody
{
#region private Fields
private string _billNo = String.Empty;
private decimal _serialNo = 0;
private string _wxLxCode = String.Empty;
private string _wxLxCode_Ref = String.Empty;
private string _wxItem = String.Empty;
private decimal _quotaHours = 0;
private decimal _realHours = 0;
private string _skillUser = String.Empty;
private string _skillUser_Ref = String.Empty;
private string _kfWxUser = String.Empty;
private string _kfWxUser_Ref = String.Empty;
private string _remark = String.Empty;
private string _WORKAMOUNT = string.Empty;
private string _MATERIALAMOUNT = string.Empty;
private string _TYREAMOUNT = string.Empty;
#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 WxLxCode
{
get { return _wxLxCode; }
set { _wxLxCode = value; }
}
public string WxLxCode_Ref
{
get { return _wxLxCode_Ref; }
set { _wxLxCode_Ref = value; }
}
[ModelDB]
public string WxItem
{
get { return _wxItem; }
set { _wxItem = value; }
}
[ModelDB]
public decimal QuotaHours
{
get { return _quotaHours; }
set { _quotaHours = value; }
}
[ModelDB]
public decimal RealHours
{
get { return _realHours; }
set { _realHours = value; }
}
[ModelDB]
public string SkillUser
{
get { return _skillUser; }
set { _skillUser = value; }
}
public string SkillUser_Ref
{
get { return _skillUser_Ref; }
set { _skillUser_Ref = value; }
}
[ModelDB]
public string KfWxUser
{
get { return _kfWxUser; }
set { _kfWxUser = value; }
}
public string KfWxUser_Ref
{
get { return _kfWxUser_Ref; }
set { _kfWxUser_Ref = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string WORKAMOUNT
{
get { return _WORKAMOUNT; }
set { _WORKAMOUNT = value; }
}
[ModelDB]
public string MATERIALAMOUNT
{
get { return _MATERIALAMOUNT; }
set { _MATERIALAMOUNT = value; }
}
[ModelDB]
public string TYREAMOUNT
{
get { return _TYREAMOUNT; }
set { _TYREAMOUNT = value; }
}
#endregion
public MsKfWxBody()
{
TableName = "tMsKfWxBody";
}
}
#region 参照部分
public class MsKfWxBodyRefMsKfBzWx
{
public string WxLxCode { get; set; }
public string WxLxName { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}