using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestAddBeatAllocation
    {
        public int sectionid { get; set; }

        public int machineID { get; set; }

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

        public string product_name_text { get; set; }

        [Required(ErrorMessage = "ProductNameIsEmpty")]
        public string product_name { get; set; }

        public string drawing_number { get; set; }

        public int standard_besat { get; set; }

        public int daily_standard_output { get; set; }

        public string time_num { get; set; }

        public string route_number { get; set; }

        public string route_name { get; set; }

        public string updown_besat { get; set; }

        public int yieldratio { get; set; }

        public string start_time { get; set; }

        public string end_time { get; set; }
    }

    public class RequestEditBeatAllocation
    {
        public int id { get; set; }

        public int sectionid { get; set; }

        public int machineID { get; set; }

        public int standard_besat { get; set; }

        public int daily_standard_output { get; set; }

        public string time_num { get; set; }

        public string program_number { get; set; }

        public string route_number { get; set; }

        public string route_name { get; set; }

        public string updown_besat { get; set; }

        public int yieldratio { get; set; }

        public string start_time { get; set; }

        public string end_time { get; set; }
    }
}
