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/MsWlInsure/MsWlInsureHead.cs

235 lines
6.3 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlInsure
{
[JsonObject]
public class MsWlInsureHead : ModelObjectBillHead
{
#region private Fields
private string _billNo = "*";
private DateTime? _lrDate = null;
private string _userCode = String.Empty;
private string _userName = String.Empty;
private DateTime? _jzDate = null;
private string _jzrCode = String.Empty;
private string _jzrName = String.Empty;
private string _rptDate = String.Empty;
private decimal _timeMark = 0;
private string _ywType = "0116";
private string _orgCode = String.Empty;
private string _orgName = String.Empty;
private string _truckNo = String.Empty;
private string _truckNo_Ref = String.Empty;
private string _opUserCode = String.Empty;
private string _opUserCode_Ref = String.Empty;
private string _opUserName = String.Empty;
private string _insureCompCode = String.Empty;
private string _insureComp = String.Empty;
private string _insureBillNo = String.Empty;
private string _insureDate = String.Empty;
private string _nextDate = String.Empty;
private decimal _noticeDays = 0;
private string _remark = String.Empty;
private string _beneficiary = string.Empty;
private string _insureBgnDate = string.Empty;
private string _insureEndDate = string.Empty;
private string _InsureTotal = 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 string UserCode
{
get { return _userCode; }
set { _userCode = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UserName
{
get { return _userName; }
set { _userName = value; }
}
public DateTime? JzDate
{
get { return _jzDate; }
set { _jzDate = value; }
}
public string JzrCode
{
get { return _jzrCode; }
set { _jzrCode = value; }
}
public string JzrName
{
get { return _jzrName; }
set { _jzrName = value; }
}
public string RptDate
{
get { return _rptDate; }
set { _rptDate = value; }
}
public decimal TimeMark
{
get { return _timeMark; }
set { _timeMark = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string YwType
{
get { return _ywType; }
set { _ywType = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OrgCode
{
get { return _orgCode; }
set { _orgCode = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OrgName
{
get { return _orgName; }
set { _orgName = 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 OpUserCode
{
get { return _opUserCode; }
set { _opUserCode = value; }
}
public string OpUserCode_Ref
{
get { return _opUserCode_Ref; }
set { _opUserCode_Ref = value; }
}
[ModelDB]
public string OpUserName
{
get { return _opUserName; }
set { _opUserName = value; }
}
[ModelDB]
public string InsureComp
{
get { return _insureComp; }
set { _insureComp = value; }
}
[ModelDB]
public string InsureBillNo
{
get { return _insureBillNo; }
set { _insureBillNo = value; }
}
[ModelDB]
public string InsureDate
{
get { return _insureDate; }
set { _insureDate = 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; }
}
[ModelDB]
public string Beneficiary
{
get { return _beneficiary; }
set { _beneficiary = value; }
}
[ModelDB]
public string InsureBgnDate
{
get { return _insureBgnDate; }
set { _insureBgnDate = value; }
}
[ModelDB]
public string InsureEndDate
{
get { return _insureEndDate; }
set { _insureEndDate = value; }
}
[ModelDB]
public string InsureCompCode
{
get { return _insureCompCode; }
set { _insureCompCode = value; }
}
public string InsureTotal
{
get { return _InsureTotal; }
set { _InsureTotal = value; }
}
#endregion
public MsWlInsureHead()
{
TableName = "tMsWlInsureHead";
}
}
#region 参照部分
public class MsWlInsureHeadRefMsWlTruck
{
public string TruckNo { get; set; }
}
public class MsWlInsureHeadRefMsWlInsureLtd
{
public string Code { get; set; }
public string Name { get; set; }
public string CodeAndName { get; set; }
}
#endregion
}