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 InspectionOrgKeyInput
    {
        public virtual string Id { get; set; }
    }

    public class InspectionOrgKeyRequiredInput : InspectionOrgKeyInput
    {
        [Required]
        public override string Id { get; set; }
    }

    public class InspectionOrgPageInput : PageInputBase
    {

    }

    public class InspectionOrgRegisterInput
    {
        [MaxLength(100)]
        [Required]
        public string Name { get; set; }

        [MaxLength(50)]
        [Required]
        public string CreditCode { get; set; }

        [Required]
        public string Address { get; set; }

        [MaxLength(50)]
        [Required]
        public string Contacts { get; set; }

        [MaxLength(50)]
        [Required]
        public string ContactsPhone { get; set; }

        [MaxLength(50)]
        [Required]
        public string LegalPerson { get; set; }

        [MaxLength(50)]
        public string OrgTelephone { get; set; }

        [Required]
        public string ApplicationFormFiles { get; set; }

        [Required]
        public string OrgBusinessLicenseFiles { get; set; }

        [Required]
        public string InspectionQualificationCertificateFiles { get; set; }

        [Required]
        public string OfficeInformationFiles { get; set; }

        [Required]
        public string EmployeeCertificateFiles { get; set; }

        [Required]
        public string CalibrationCertificateFiles { get; set; }

        public string OtherFiles { get; set; }
    }

    public class InspectionOrgReviewNotApprovedInput : InspectionOrgKeyRequiredInput
    {
        [Required]
        public string Remark { get; set; }
    }
}
