using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Request
{
    public class RequestToolCutterLocationAdd
    {
        public int mid { get; set; }

        [Required(ErrorMessage = "SpindleNameIsEmpty")]
        public string spindle_name { get; set; }

        public int product_id { get; set; }

        [Required(ErrorMessage = "ProgramNoNotNull")]
        public string programno { get; set; }

        public string[] cutter_location_name { get; set; }

        public string[] ratedlife { get; set; }

        public string[] tool_id { get; set; }
        public int[] type { get; set; }
        public double[] coefficent { get; set; }
    }
}
