|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.MsWlTruckInsure
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsWlTruckInsure : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private string _truckNo = String.Empty;
|
|
|
|
|
private decimal _serialNo = 0;
|
|
|
|
|
private string _orgCode = String.Empty;
|
|
|
|
|
private DateTime? _lrDate = null;
|
|
|
|
|
private string _userCode = String.Empty;
|
|
|
|
|
private string _userName = String.Empty;
|
|
|
|
|
private string _opUserCode = String.Empty;
|
|
|
|
|
private string _opUserCode_Ref = String.Empty;
|
|
|
|
|
private string _opUserName = String.Empty;
|
|
|
|
|
private string _insureType = "0";
|
|
|
|
|
private string _insureType_Ref = "0";
|
|
|
|
|
private string _insureBillNo = String.Empty;
|
|
|
|
|
private string _insureDate = String.Empty;
|
|
|
|
|
private string _insureComp = String.Empty;
|
|
|
|
|
private decimal _insureTotal = 0;
|
|
|
|
|
private string _nextDate = String.Empty;
|
|
|
|
|
private decimal _noticeDays = 0;
|
|
|
|
|
private string _remark = String.Empty;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string TruckNo
|
|
|
|
|
{
|
|
|
|
|
get { return _truckNo; }
|
|
|
|
|
set { _truckNo = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public decimal SerialNo
|
|
|
|
|
{
|
|
|
|
|
get { return _serialNo; }
|
|
|
|
|
set { _serialNo = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string OrgCode
|
|
|
|
|
{
|
|
|
|
|
get { return _orgCode; }
|
|
|
|
|
set { _orgCode = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public DateTime? LrDate
|
|
|
|
|
{
|
|
|
|
|
get { return _lrDate; }
|
|
|
|
|
set { _lrDate = 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; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OpUserCode
|
|
|
|
|
{
|
|
|
|
|
get { return _opUserCode; }
|
|
|
|
|
set { _opUserCode = value; }
|
|
|
|
|
}
|
|
|
|
|
public string OpUserCode_Ref
|
|
|
|
|
{
|
|
|
|
|
get { return _opUserCode_Ref; }
|
|
|
|
|
set { _opUserCode_Ref = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string OpUserName
|
|
|
|
|
{
|
|
|
|
|
get { return _opUserName; }
|
|
|
|
|
set { _opUserName = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string InsureType
|
|
|
|
|
{
|
|
|
|
|
get { return _insureType; }
|
|
|
|
|
set { _insureType = value; }
|
|
|
|
|
}
|
|
|
|
|
public string InsureType_Ref
|
|
|
|
|
{
|
|
|
|
|
get { return _insureType_Ref; }
|
|
|
|
|
set { _insureType_Ref = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string InsureBillNo
|
|
|
|
|
{
|
|
|
|
|
get { return _insureBillNo; }
|
|
|
|
|
set { _insureBillNo = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string InsureDate
|
|
|
|
|
{
|
|
|
|
|
get { return _insureDate; }
|
|
|
|
|
set { _insureDate = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string InsureComp
|
|
|
|
|
{
|
|
|
|
|
get { return _insureComp; }
|
|
|
|
|
set { _insureComp = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal InsureTotal
|
|
|
|
|
{
|
|
|
|
|
get { return _insureTotal; }
|
|
|
|
|
set { _insureTotal = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string NextDate
|
|
|
|
|
{
|
|
|
|
|
get { return _nextDate; }
|
|
|
|
|
set { _nextDate = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal NoticeDays
|
|
|
|
|
{
|
|
|
|
|
get { return _noticeDays; }
|
|
|
|
|
set { _noticeDays = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsWlTruckInsure()
|
|
|
|
|
{
|
|
|
|
|
TableName = "tMsWlTruckInsure";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|