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

namespace Siger.Middlelayer.DncRepository.Request
{
    public class RequesetUploadProgramPost
    {
        [Required(ErrorMessage = "ProgramidNotNull")]
        public int programid { get; set; }
        
        public int sectionid { get; set; }

        public int machineid { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string work_order { get; set; }
    }

    public class RequesetCallProgramPost
    {
        public List<RequesetUploadProgramPost> programs { get; set; }
    }
}
