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