using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Request
{
    public class RequestToolConfigAlertSetting
    {
        [Required(ErrorMessage = "CutterLocationIDNotNull")]
        public int cutterlocationid { get; set; }
        [Required(ErrorMessage = "DataNotNull")]
        public List<Datum> data { get; set; }
    }
    public class Datum
    {
        public int cutterlocationid { get; set; }
        public int condition_param { get; set; }
        public int condition_type { get; set; }
        public int is_open { get; set; }
        public double k { get; set; }
        public double m { get; set; }
        public int status { get; set; }
    }

}
