using Ewide.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewide.Application
{
    public class InspectionOrgDirKeyInput
    {
        public virtual string Id { get; set; }
    }

    public class InspectionOrgDirKeyRequiredInput : InspectionOrgDirKeyInput
    {
        [Required]
        public override string Id { get; set; }
    }

    public class InspectionOrgDirPageInput : PageInputBase
    {

    }

    public class InspectionOrgDirSaveInput : InspectionOrgDirKeyInput
    {
        [Required]
        public string No { get; set; }
        [Required]
        public InspectionOrgDirSaveDetailInput[] Detail { get; set; }
    }

    public class InspectionOrgDirSaveDetailInput
    {
        [Required]
        public string OrgId { get; set; }
        [Required]
        public int Score { get; set; }
    }
}
