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.

152 lines
3.9 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlCk
{
[JsonObject]
public class MsWlCkHead : ModelObjectBillHead
{
#region private Fields
private string _billNo = "*";
private DateTime? _lrDate = null;
private DateTime? _jzDate = null;
private string _userCode = String.Empty;
private string _userName = String.Empty;
private decimal _timeMark = 0;
private string _ywBillNo = String.Empty;
private string _ywType = String.Empty;
private string _ywType_Ref = String.Empty;
private string _etpCode = String.Empty;
private string _etpCode_Ref = String.Empty;
private string _etpName = String.Empty;
private string _orgCode = String.Empty;
private string _orgCode_Ref = String.Empty;
private string _orgName = String.Empty;
private decimal _ckCount = 0;
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; }
}
[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 YwBillNo
{
get { return _ywBillNo; }
set { _ywBillNo = value; }
}
[ModelDB]
public string YwType
{
get { return _ywType; }
set { _ywType = value; }
}
public string YwType_Ref
{
get { return _ywType_Ref; }
set { _ywType_Ref = value; }
}
[ModelDB]
public string EtpCode
{
get { return _etpCode; }
set { _etpCode = value; }
}
public string EtpCode_Ref
{
get { return _etpCode_Ref; }
set { _etpCode_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string EtpName
{
get { return _etpName; }
set { _etpName = value; }
}
[ModelDB]
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 decimal CkCount
{
get { return _ckCount; }
set { _ckCount = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public MsWlCkHead()
{
TableName = "tMsWlCkHead";
}
}
#region 参照部分
public class MsWlCkHeadRefMsTruckOrg
{
public string OrgCode { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}