CarUse.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.3.5 自动创建于 2009-12-25 15:18:14
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 CarUse
- /// </summary>
- [Serializable]
- public class CarUse : ICloneable
- {
- public CarUse()
- { }
- /// <summary>
- /// 构造函数 CarUse
- /// </summary>
- /// <param name="iD">ID</param>
- /// <param name="cPH">车牌号</param>
- /// <param name="yCR">用车人</param>
- /// <param name="sY">事由</param>
- /// <param name="kSSJ">开始时间</param>
- /// <param name="sYZT">使用状态(申请,使用中)</param>
- /// <param name="jSSJ">结束时间</param>
- /// <param name="bZ">备注</param>
- /// <param name="mDD">目的地</param>
- /// <param name="lC">里程</param>
- /// <param name="sJ">司机</param>
- /// <param name="yCBM">用车部门</param>
- /// <param name="sQR">申请人</param>
- /// <param name="dDY">调度员</param>
- public CarUse(int iD, string cPH, string yCR, string sY, DateTime kSSJ, string sYZT, DateTime jSSJ, string bZ, string mDD, double lC, string sJ, int yCBM, string sQR, string dDY)
- {
- _iD = iD;
- _cPH = cPH;
- _yCR = yCR;
- _sY = sY;
- _kSSJ = kSSJ;
- _sYZT = sYZT;
- _jSSJ = jSSJ;
- _bZ = bZ;
- _mDD = mDD;
- _lC = lC;
- _sJ = sJ;
- _yCBM = yCBM;
- _sQR = sQR;
- _dDY = dDY;
- }
- #region Model
- private int _iD;
- private string _cPH;
- private string _yCR;
- private string _sY;
- private DateTime _kSSJ;
- private string _sYZT;
- private DateTime _jSSJ;
- private string _bZ;
- private string _mDD;
- private double _lC;
- private string _sJ;
- private int _yCBM;
- private string _sQR;
- private string _dDY;
- /// <summary>
- /// ID
- /// </summary>
- public int ID
- {
- set { _iD = value; }
- get { return _iD; }
- }
- /// <summary>
- /// 车牌号
- /// </summary>
- public string CPH
- {
- set { _cPH = value; }
- get { return _cPH; }
- }
- /// <summary>
- /// 用车人
- /// </summary>
- public string YCR
- {
- set { _yCR = value; }
- get { return _yCR; }
- }
- /// <summary>
- /// 事由
- /// </summary>
- public string SY
- {
- set { _sY = value; }
- get { return _sY; }
- }
- /// <summary>
- /// 开始时间
- /// </summary>
- public DateTime KSSJ
- {
- set { _kSSJ = value; }
- get { return _kSSJ; }
- }
- /// <summary>
- /// 使用状态(申请,使用中)
- /// </summary>
- public string SYZT
- {
- set { _sYZT = value; }
- get { return _sYZT; }
- }
- /// <summary>
- /// 结束时间
- /// </summary>
- public DateTime JSSJ
- {
- set { _jSSJ = value; }
- get { return _jSSJ; }
- }
- /// <summary>
- /// 备注
- /// </summary>
- public string BZ
- {
- set { _bZ = value; }
- get { return _bZ; }
- }
- /// <summary>
- /// 目的地
- /// </summary>
- public string MDD
- {
- set { _mDD = value; }
- get { return _mDD; }
- }
- /// <summary>
- /// 里程
- /// </summary>
- public double LC
- {
- set { _lC = value; }
- get { return _lC; }
- }
- /// <summary>
- /// 司机
- /// </summary>
- public string SJ
- {
- set { _sJ = value; }
- get { return _sJ; }
- }
- /// <summary>
- /// 用车部门
- /// </summary>
- public int YCBM
- {
- set { _yCBM = value; }
- get { return _yCBM; }
- }
- /// <summary>
- /// 申请人
- /// </summary>
- public string SQR
- {
- set { _sQR = value; }
- get { return _sQR; }
- }
- /// <summary>
- /// 调度员
- /// </summary>
- public string DDY
- {
- set { _dDY = value; }
- get { return _dDY; }
- }
- #endregion
- #region ICloneable 成员
- public object Clone()
- {
- return this.MemberwiseClone();
- }
- #endregion
- }
- }