using System;
using Abp.AutoMapper;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations;
namespace ShwasherSys.CompanyInfo.DeviceInfo.Dto
{
///
/// 设备维护计划
///
[AutoMapTo(typeof(DeviceMgPlan))]
public class DeviceMgPlanUpdateDto: EntityDto
{
///
/// 计划编号
///
[StringLength(DeviceMgPlan.NoMaxLength)]
public string No { get; set; }
///
/// 设备名称
///
[StringLength(DeviceMgPlan.NameMaxLength)]
public string Name { get; set; }
/////
///// 设备编码
/////
//[StringLength(DeviceMgPlan.NoMaxLength)]
//public string DeviceNo { get; set; }
///
/// 计划类型
///
public int PlanType { get; set; }
///
/// 维护内容
///
[StringLength(DeviceMgPlan.DescMaxLength)]
public string Description { get; set; }
///
/// 有效期限
///
public DateTime ExpireDate { get; set; }
///
/// 维护周期
///
public int MaintenanceCycle { get; set; }
public int NumberOfUsers { get; set; }
// ///
// /// 维护时间
// ///
//public DateTime? MaintenanceDate { get; set; }
// ///
// /// 下一次维护时间
// ///
//public DateTime? NextMaintenanceDate { get; set; }
}
}