using System;
using Abp.AutoMapper;
using System.ComponentModel.DataAnnotations;
using IwbZero.AppServiceBase;
namespace ShwasherSys.CompanyInfo.MoldInfo.Dto
{
///
/// 模具维护计划
///
[AutoMapTo(typeof(Mold))]
public class MoldCreateDto:IwbEntityDto
{
///
/// 模具编码
///
[Required]
[StringLength(Mold.NoMaxLength)]
public string No { get; set; }
///
/// 模具名称
///
[Required]
[StringLength(Mold.NameMaxLength)]
public string Name { get; set; }
///
/// 模具规格
///
[StringLength(Mold.ModelMaxLength)]
public string Model { get; set; }
///
/// 模具材质
///
[StringLength(Mold.MaterialMaxLength)]
public string Material { get; set; }
///
/// 模具描述
///
[StringLength(Mold.DescMaxLength)]
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; }
[MaxLength(Mold.CustomerNameMaxLength)]
public string CustomerName { get; set; }
[MaxLength(Mold.ShelfNumMaxLength)]
public string ShelfNum { get; set; }
[MaxLength(Mold.OuterDiameterMaxLength)]
public string OuterDiameter { get; set; }
[MaxLength(Mold.InsideDiameterMaxLength)]
public string InsideDiameter { get; set; }
[MaxLength(Mold.ThicknessMaxLength)]
public string Thickness { get; set; }
[MaxLength(Mold.HeightMaxLength)]
public string Height { get; set; }
[MaxLength(Mold.RigidityMaxLength)]
public string Rigidity { get; set; }
public int MaintenanceCycle { get; set; }
}
}