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.
158 lines
3.8 KiB
C#
158 lines
3.8 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.MsMlieage
|
|
{
|
|
[JsonObject]
|
|
public class MsMlieage : ModelObjectBase
|
|
{
|
|
#region private Fields
|
|
|
|
private decimal _serialNo = 0;
|
|
private string _truckNo = String.Empty;
|
|
private string _truckNo_Ref = String.Empty;
|
|
private string _rptDate = String.Empty;
|
|
private decimal _totalMil = 0;
|
|
private decimal _heavyMileage = 0;
|
|
private decimal _emptyMileage = 0;
|
|
private decimal _transVolume = 0;
|
|
private decimal _aroundTon = 0;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public decimal SerialNo
|
|
{
|
|
get { return _serialNo; }
|
|
set { _serialNo = 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 RptDate
|
|
{
|
|
get { return _rptDate; }
|
|
set { _rptDate = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal TotalMil
|
|
{
|
|
get { return _totalMil; }
|
|
set { _totalMil = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal HeavyMileage
|
|
{
|
|
get { return _heavyMileage; }
|
|
set { _heavyMileage = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal EmptyMileage
|
|
{
|
|
get { return _emptyMileage; }
|
|
set { _emptyMileage = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal TransVolume
|
|
{
|
|
get { return _transVolume; }
|
|
set { _transVolume = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal AroundTon
|
|
{
|
|
get { return _aroundTon; }
|
|
set { _aroundTon = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsMlieage()
|
|
{
|
|
TableName = "tMsMlieage";
|
|
}
|
|
}
|
|
|
|
public class MsMlieageSum : ModelObjectBase
|
|
{
|
|
#region private Fields
|
|
private string _truckNo = String.Empty;
|
|
private decimal _totalMil = 0;
|
|
private decimal _heavyMileage = 0;
|
|
private decimal _emptyMileage = 0;
|
|
private decimal _transVolume = 0;
|
|
private decimal _aroundTon = 0;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
[ModelDB]
|
|
public string TruckNo
|
|
{
|
|
get { return _truckNo; }
|
|
set { _truckNo = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal TotalMil
|
|
{
|
|
get { return _totalMil; }
|
|
set { _totalMil = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal HeavyMileage
|
|
{
|
|
get { return _heavyMileage; }
|
|
set { _heavyMileage = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal EmptyMileage
|
|
{
|
|
get { return _emptyMileage; }
|
|
set { _emptyMileage = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal TransVolume
|
|
{
|
|
get { return _transVolume; }
|
|
set { _transVolume = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal AroundTon
|
|
{
|
|
get { return _aroundTon; }
|
|
set { _aroundTon = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsMlieageSum()
|
|
{
|
|
TableName = "tMsMlieage";
|
|
}
|
|
}
|
|
#region 参照部分
|
|
|
|
public class MsMlieageRefMsWlTruck
|
|
{
|
|
public string TruckNo { get; set; }
|
|
public string TruckSpec { get; set; }
|
|
public string CodeAndName { get; set; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
}
|