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/MsKfJh/MsKfJhHead.cs

212 lines
5.7 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsKfJh
{
[JsonObject]
public class MsKfJhHead : 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 _billType = "0";
private string _billType_Ref = "0";
private string _ckCode = "*";
private string _ckCode_Ref = "*";
private string _ckName = String.Empty;
private string _jhDate = String.Empty;
private string _jhrCode = String.Empty;
private string _jhrCode_Ref = String.Empty;
private string _jhrName = String.Empty;
private decimal _jhCount = 0;
private decimal _jhTotal = 0;
private string _remark = String.Empty;
private string _pluType = "0";
private string _pluType_Ref = "0";
private string _supplier = String.Empty;
private string _supplier_Ref = 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(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(MDBType = ModelDBOprationType.Insert)]
public string BillType
{
get { return _billType; }
set { _billType = value; }
}
public string BillType_Ref
{
get { return _billType_Ref; }
set { _billType_Ref = 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]
public string CkName
{
get { return _ckName; }
set { _ckName = value; }
}
[ModelDB]
public string JhDate
{
get { return _jhDate; }
set { _jhDate = value; }
}
[ModelDB]
public string JhrCode
{
get { return _jhrCode; }
set { _jhrCode = value; }
}
public string JhrCode_Ref
{
get { return _jhrCode_Ref; }
set { _jhrCode_Ref = value; }
}
[ModelDB]
public string JhrName
{
get { return _jhrName; }
set { _jhrName = value; }
}
[ModelDB]
public decimal JhCount
{
get { return _jhCount; }
set { _jhCount = value; }
}
[ModelDB]
public decimal JhTotal
{
get { return _jhTotal; }
set { _jhTotal = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string PluType
{
get { return _pluType; }
set { _pluType = value; }
}
public string PluType_Ref
{
get { return _pluType_Ref; }
set { _pluType_Ref = value; }
}
[ModelDB]
public string Supplier
{
get { return _supplier; }
set { _supplier = value; }
}
public string Supplier_Ref
{
get { return _supplier_Ref; }
set { _supplier_Ref = value; }
}
#endregion
public MsKfJhHead()
{
TableName = "tMsKfJhHead";
}
}
#region 参照部分
public class MsKfJhHeadRefMsTruckOrg
{
public string OrgCode { get; set; }
public string OrgName { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}