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 virtual string logo { get; set; } /// /// 公司简介 /// public virtual string Info { 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 { } }