using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 公司属性输入参数 /// public class CompanyInput : PageInputBase { /// /// 租户Id /// public virtual long TenantId { get; set; } /// /// 公司Logo /// public string logo { get; set; } /// /// 公司简介 /// public string Info { get; set; } /// /// 公司名称 /// public string Name { get; set; } /// /// 公司详情图片 /// public string CompanyInfoUrl { get; set; } /// /// 公司地址 /// public string Address { get; set; } /// /// 审核状态 /// public CompanyEnum ApprovalStatus { get; set; } /// /// 审核人 /// public string Approver { get; set; } /// /// 审核时间 /// public DateTime ApprovalTime { get; set; } /// /// 执照图片地址 /// public string LicenseUrl { get; set; } /// /// 机构代码 /// public string Code { get; set; } /// /// 企业电话 /// public string Phone { get; set; } /// /// 备注 /// public string Remark { get; set; } } public class AddCompanyInput : CompanyInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } /// /// 验证码 /// public string Checking { get; set; } } public class DeleteCompanyInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateCompanyInput : CompanyInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } /// /// 是否通过 /// public bool IsCompanyApprove { get; set; } } public class QueryeCompanyInput : DeleteCompanyInput { } }