using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestAddWorkingMode
    {
        public string parentId { get; set; }

        public string parentMode { get; set; }

        public string machineFType1Id { get; set; }

        public string machineFType1Name { get; set; }

        public string machineCtype1Id { get; set; }

        public string machineCtype1Name { get; set; }

        [Required(ErrorMessage = "WorkingModeIsEmpty")]
        public string WorkingMode { get; set; }        

        public string note { get; set; }
    }

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

        [Required(ErrorMessage = "WorkingModeIsEmpty")]
        public string workingmodename { get; set; }

        public string notelist { get; set; }

        public string parentId { get; set; }

        public string parentMode { get; set; }
    }
}
