DS7/DSWeb/Areas/TruckMng/Models/MsWlBulk/MsWlBulkDetail.cs

157 lines
4.0 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlBulk
{
[JsonObject]
public class MsWlBulkDetail : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _loadPlace = String.Empty;
private string _unLoadPlace = String.Empty;
private decimal _loadCount = 0;
private decimal _onemil = 0;
private decimal _tonmil = 0;
private decimal _weight = 0;
private decimal _transPrice = 0;
private decimal _transTotal = 0;
private string _remark = String.Empty;
private string _gId = String.Empty;
private decimal _feeStatus = 0;
private string _feeStatus_Ref = string.Empty;
private DateTime? _submitDate = null;
private string _auditoperator = String.Empty;
private DateTime? _auditDate = null;
private decimal _auditStatus = 0;
#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 decimal TransPrice
{
get { return _transPrice; }
set { _transPrice = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LoadPlace
{
get { return _loadPlace; }
set { _loadPlace = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UnLoadPlace
{
get { return _unLoadPlace; }
set { _unLoadPlace = value; }
}
[ModelDB]
public decimal LoadCount
{
get { return _loadCount; }
set { _loadCount = value; }
}
[ModelDB]
public decimal Weight
{
get { return _weight; }
set { _weight = value; }
}
[ModelDB]
public decimal TransTotal
{
get { return _transTotal; }
set { _transTotal = value; }
}
[ModelDB]
public decimal TonMil
{
get { return _tonmil; }
set { _tonmil = value; }
}
[ModelDB]
public decimal OneMil
{
get { return _onemil; }
set { _onemil = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string GId
{
get { return _gId; }
set { _gId = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public decimal FeeStatus
{
get { return _feeStatus; }
set { _feeStatus = value; }
}
public string FeeStatus_Ref
{
get { return _feeStatus_Ref; }
set { _feeStatus_Ref = value; }
}
public DateTime? SubmitDate
{
get { return _submitDate; }
set { _submitDate = value; }
}
public string Auditoperator
{
get { return _auditoperator; }
set { _auditoperator = value; }
}
public DateTime? AuditDate
{
get { return _auditDate; }
set { _auditDate = value; }
}
public decimal AuditStatus
{
get { return _auditStatus; }
set { _auditStatus = value; }
}
#endregion
public MsWlBulkDetail()
{
TableName = "tMsWlBulkDetail";
}
}
#region 参照部分
#endregion
}