using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
namespace WIDESEA_DTO.MES
{
    /// 
    /// 测试架出仓模型
    /// 
    [ModelValidate]
    public class TestToolOutModel
    {
        /// 
        /// 测试架批次号
        /// 
        [PropertyValidate("测试架批次号", NotNullAndEmpty = true)]
        public string ToolCode { get; set; }
        /// 
        /// 目标地址码
        /// 
        [PropertyValidate("目标地址码", NotNullAndEmpty = true)]
        public string TargetAddressCode { get; set; }
    }
    /// 
    /// 测试架报废模型
    /// 
    [ModelValidate]
    public class TestToolScrap
    {
        /// 
        /// 测试架批次号
        /// 
        [PropertyValidate("测试架批次号", NotNullAndEmpty = true)]
        public string ToolCode { get; set; }
    }
    /// 
    /// 测试架退库
    /// 
    [ModelValidate]
    public class TestToolBackModel
    {
        /// 
        /// 源位置
        /// 
        [PropertyValidate("源位置", NotNullAndEmpty = true)]
        public string SourceAddressCode { get; set; }
        /// 
        /// 测试架批次号
        /// 
        [PropertyValidate("测试架批次号", NotNullAndEmpty = true)]
        public string TestToolCode { get; set; }
    }
    /// 
    ///测试架同步
    /// 
    public class TestToolSynInfo
    {
        /// 
        /// 测试架批次号
        /// 
        public string ToolCode { get; set; }
        /// 
        /// 初始寿命
        /// 
        public int Life { get; set; }
    }
}