using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Request
{
    public class RequestToolChangeRecord
    {
        [Required(ErrorMessage = "machine_id Can not Null")]
        public int machine_id { get; set; }
        public string program_type { get; set; }
        public string machine_name { get; set; }
        public string machine_code { get; set; }
        public string spindle_name { get; set; }
        [Required(ErrorMessage = "cutter_location_name Can not Null")]
        public string cutter_location_name { get; set; }
        public string tool_name { get; set; }
        public string drawingcode { get; set; }
        public string supplier { get; set; }
        public int ratedlife { get; set; }
        public int residual_life { get; set; }
        public int surplus_life { get; set; }
        public string programno { get; set; }
        public string change_time { get; set; }
        public string comment { get; set; }
        public string change_reason { get; set; }
        public string cover { get; set; }
        public string cyc_time { get; set; }
    }
}
