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.

427 lines
10 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models
{
[JsonObject]
public class MsWlDriver : ModelObjectBase
{
#region private Fields
private string _RowNumber = String.Empty;
private string _GID = String.Empty;
private string _orgCode = String.Empty;
private string _drvCode = String.Empty;
private string _drvName = String.Empty;
private string _drvClass = "0";
private string _drvClass_Ref = "0";
private string _jzNo = String.Empty;
private string _lzDate = String.Empty;
private decimal _limitDays = 0;
private decimal _driverYears = 0;
private string _truckType = "0";
private string _truckType_Ref = "0";
private string _licence = String.Empty;
private string _yearCheckDate = String.Empty;
private string _nextCheckDate = String.Empty;
private decimal _noticeDays = 0;
private string _mobile = String.Empty;
private string _offTel = String.Empty;
private string _remark = String.Empty;
private string _certificateNo = string.Empty;
private string _addr = string.Empty;
private string _BASESALARY = string.Empty;
#endregion
#region Public Properties
public string RowNumber
{
get { return _RowNumber; }
set { _RowNumber = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string OrgCode
{
get { return _orgCode; }
set { _orgCode = value; }
}
[ModelDB]
public string DrvCode
{
get { return _drvCode; }
set { _drvCode = value; }
}
[ModelDB]
public string DrvName
{
get { return _drvName; }
set { _drvName = value; }
}
[ModelDB]
public string DrvClass
{
get { return _drvClass; }
set { _drvClass = value; }
}
public string DrvClass_Ref
{
get { return _drvClass_Ref; }
set { _drvClass_Ref = value; }
}
[ModelDB]
public string JzNo
{
get { return _jzNo; }
set { _jzNo = value; }
}
[ModelDB]
public string LzDate
{
get { return _lzDate; }
set { _lzDate = value; }
}
[ModelDB]
public decimal LimitDays
{
get { return _limitDays; }
set { _limitDays = value; }
}
[ModelDB]
public decimal DriverYears
{
get { return _driverYears; }
set { _driverYears = 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 Licence
{
get { return _licence; }
set { _licence = value; }
}
[ModelDB]
public string YearCheckDate
{
get { return _yearCheckDate; }
set { _yearCheckDate = value; }
}
[ModelDB]
public string NextCheckDate
{
get { return _nextCheckDate; }
set { _nextCheckDate = value; }
}
[ModelDB]
public decimal NoticeDays
{
get { return _noticeDays; }
set { _noticeDays = value; }
}
[ModelDB]
public string Mobile
{
get { return _mobile; }
set { _mobile = value; }
}
[ModelDB]
public string OffTel
{
get { return _offTel; }
set { _offTel = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string CertificateNo
{
get { return _certificateNo; }
set { _certificateNo = value; }
}
[ModelDB]
public string Addr
{
get { return _addr; }
set { _addr = value; }
}
[ModelDB]
public string BASESALARY
{
get { return _BASESALARY; }
set { _BASESALARY = value; }
}
#endregion
public MsWlDriver()
{
TableName = "tMsWlDriver";
}
}
[JsonObject]
public class MsUpLoadFile : ModelObjectBase
{
#region private Fields
private string _GID = String.Empty;
private string _PID = String.Empty;
private string _UPLOADEMPLY = String.Empty;
private string _UPLOADDATE = String.Empty;
private string _FILENAME = String.Empty;
private string _FILETYPE = String.Empty;
private string _FILEPATH = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string PID
{
get { return _PID; }
set { _PID = value; }
}
[ModelDB]
public string UPLOADEMPLY
{
get { return _UPLOADEMPLY; }
set { _UPLOADEMPLY = value; }
}
[ModelDB]
public string UPLOADDATE
{
get { return _UPLOADDATE; }
set { _UPLOADDATE = value; }
}
[ModelDB]
public string FILETYPE
{
get { return _FILETYPE; }
set { _FILETYPE = value; }
}
[ModelDB]
public string FILENAME
{
get { return _FILENAME; }
set { _FILENAME = value; }
}
[ModelDB]
public string FILEPATH
{
get { return _FILEPATH; }
set { _FILEPATH = value; }
}
#endregion
public MsUpLoadFile()
{
TableName = "info_files";
}
}
[JsonObject]
public class MsWlDriver_Salary : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _DRVCODE = string.Empty;
private string _ACCDATE = string.Empty;
private string _EXPDATEBGN = string.Empty;
private string _EXPDATEEND = string.Empty;
private string _BASESALARY = "0";
private string _BONUS = "0";
private string _RKF = "0";
private string _AMOUNT = "0";
private string _AMOUNT_0 = "0";
private string _PAYDATE = string.Empty;
private string _SETTLEMENT = "0";
private string _REMARK = string.Empty;
private string _ISLOCK = "0";
private string _DRVNAME = string.Empty;
private string _STLSTATUS = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string DRVCODE
{
get { return _DRVCODE; }
set { _DRVCODE = value; }
}
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
[ModelDB]
public string EXPDATEBGN
{
get { return _EXPDATEBGN; }
set { _EXPDATEBGN = value; }
}
[ModelDB]
public string EXPDATEEND
{
get { return _EXPDATEEND; }
set { _EXPDATEEND = value; }
}
[ModelDB]
public string BASESALARY
{
get { return _BASESALARY; }
set { _BASESALARY = value; }
}
[ModelDB]
public string BONUS
{
get { return _BONUS; }
set { _BONUS = value; }
}
[ModelDB]
public string RKF
{
get { return _RKF; }
set { _RKF = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string AMOUNT_0
{
get { return _AMOUNT_0; }
set { _AMOUNT_0 = value; }
}
[ModelDB]
public string PAYDATE
{
get { return _PAYDATE; }
set { _PAYDATE = value; }
}
[ModelDB]
public string SETTLEMENT
{
get { return _SETTLEMENT; }
set { _SETTLEMENT = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string ISLOCK
{
get { return _ISLOCK; }
set { _ISLOCK = value; }
}
public string DRVNAME
{
get { return _DRVNAME; }
set { _DRVNAME = value; }
}
public string STLSTATUS
{
get { return _STLSTATUS; }
set { _STLSTATUS = value; }
}
#endregion
public MsWlDriver_Salary ( )
{
TableName = "tMsWlDriver_Salary";
}
}
[JsonObject]
public class SalaryDetail : ModelObjectBillBody
{
#region private Fields
private string _DRVCODE = string.Empty;
private string _BASESALARY = string.Empty;
private string _AMOUNT_0 = string.Empty;
#endregion
#region Public Properties
public string DRVCODE
{
get { return _DRVCODE; }
set { _DRVCODE = value; }
}
public string BASESALARY
{
get { return _BASESALARY; }
set { _BASESALARY = value; }
}
public string AMOUNT_0
{
get { return _AMOUNT_0; }
set { _AMOUNT_0 = value; }
}
#endregion
}
#region 参照部分
#endregion
}