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

158 lines
3.9 KiB
C#

2 years ago
using System;
using HcUtility.Core;
namespace DSWeb.Areas.TruckMng.Models.WlTruck
{
public class WlTruck : ModelObjectBase
{
#region private Fields
private string _orgCode = String.Empty;
private string _truckNo = String.Empty;
private string _truckSpec = String.Empty;
private string _truckType = "0";
private string _truckType_Ref = "0";
private string _trunkColor = String.Empty;
private string _trunkBrand = String.Empty;
private decimal _loadCount = 0;
private string _cjNo = String.Empty;
private string _fdjNo = String.Empty;
private string _gzDate = String.Empty;
private string _zrDate = String.Empty;
private string _drvCode = String.Empty;
private string _drvCode_Ref = String.Empty;
private string _nowStatus = "0";
private string _depCode = String.Empty;
private string _truncClass = String.Empty;
private string _remark = String.Empty;
#endregion
#region Public Properties
[ModelDB]
public string OrgCode
{
get { return _orgCode; }
set { _orgCode = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string TruckNo
{
get { return _truckNo; }
set { _truckNo = value; }
}
[ModelDB]
public string TruckSpec
{
get { return _truckSpec; }
set { _truckSpec = value; }
}
[ModelDB]
public string TruckType
{
get { return _truckType; }
set { _truckType = value; }
}
public string TruckType_Ref
{
get { return _truckType_Ref; }
set { _truckType_Ref = value; }
}
[ModelDB]
public string TrunkColor
{
get { return _trunkColor; }
set { _trunkColor = value; }
}
[ModelDB]
public string TrunkBrand
{
get { return _trunkBrand; }
set { _trunkBrand = value; }
}
[ModelDB]
public decimal LoadCount
{
get { return _loadCount; }
set { _loadCount = value; }
}
[ModelDB]
public string CjNo
{
get { return _cjNo; }
set { _cjNo = value; }
}
[ModelDB]
public string FdjNo
{
get { return _fdjNo; }
set { _fdjNo = value; }
}
[ModelDB]
public string GzDate
{
get { return _gzDate; }
set { _gzDate = value; }
}
[ModelDB]
public string ZrDate
{
get { return _zrDate; }
set { _zrDate = value; }
}
[ModelDB]
public string DrvCode
{
get { return _drvCode; }
set { _drvCode = value; }
}
public string DrvCode_Ref
{
get { return _drvCode_Ref; }
set { _drvCode_Ref = value; }
}
[ModelDB]
public string NowStatus
{
get { return _nowStatus; }
set { _nowStatus = value; }
}
[ModelDB]
public string DepCode
{
get { return _depCode; }
set { _depCode = value; }
}
[ModelDB]
public string TruncClass
{
get { return _truncClass; }
set { _truncClass = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public WlTruck()
{
TableName = "tWlTruck";
}
}
#region 参照部分
public class WlTruckRefWlDriver
{
public string DrvCode { get; set; }
public string DrvName { get; set; }
}
#endregion
}