76 lines
1.8 KiB
C#
76 lines
1.8 KiB
C#
|
using SqlSugar;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace DeviceRepair.Models
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 设备保养计划
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
[SugarTable("DriveMaintencePlan")]
|
|||
|
public class DriveMaintencePlanInfo
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 默认构造函数(需要初始化属性的在此处理)
|
|||
|
/// </summary>
|
|||
|
public DriveMaintencePlanInfo()
|
|||
|
{
|
|||
|
this.GUID = Guid.NewGuid();
|
|||
|
}
|
|||
|
|
|||
|
#region Property Members
|
|||
|
|
|||
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|||
|
public virtual int AutoID { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 唯一编号
|
|||
|
/// </summary>
|
|||
|
public virtual Guid GUID { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 设备编号
|
|||
|
/// </summary>
|
|||
|
public virtual int EquipmentID { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 预计保养日期
|
|||
|
/// </summary>
|
|||
|
public virtual DateTime? CompleteDate { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 保养年份
|
|||
|
/// </summary>
|
|||
|
public virtual int MaintenanceYear { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 保养月份
|
|||
|
/// </summary>
|
|||
|
public virtual int MaintenanceMonth { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 保养类型(Semi-an、Quarterly、Annual、Monthly)
|
|||
|
/// </summary>
|
|||
|
public virtual string MaintenanceType { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 新PM起始月份
|
|||
|
/// </summary>
|
|||
|
public virtual DateTime PMStartMonth { get; set; }
|
|||
|
|
|||
|
public virtual DateTime CreatDate { get; set; }
|
|||
|
|
|||
|
public virtual int CreatUser { get; set; }
|
|||
|
|
|||
|
public virtual DateTime? ChangeDate { get; set; }
|
|||
|
|
|||
|
public virtual int ChangeUser { get; set; }
|
|||
|
|
|||
|
public virtual string Remarks { get; set; }
|
|||
|
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
}
|
|||
|
}
|