Files
housemove3/Api/Ewide.Application/Service/Inspection/InspectionOrg/Dto/InspectionOrgInput.cs
路 范 c03092bc0c .
2021-09-24 14:33:10 +08:00

82 lines
1.8 KiB
C#

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; }
}
}