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 class AddCompanyInput : CompanyInput { } 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 class QueryeCompanyInput : DeleteCompanyInput { } }