You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.5 KiB
73 lines
1.5 KiB
using GDZZ.Core;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GDZZ.Application
|
|
{
|
|
/// <summary>
|
|
/// 公司属性输入参数
|
|
/// </summary>
|
|
public class CompanyInput : PageInputBase
|
|
{
|
|
/// <summary>
|
|
/// 租户Id
|
|
/// </summary>
|
|
public virtual long TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司Logo
|
|
/// </summary>
|
|
public string logo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司简介
|
|
/// </summary>
|
|
public string Info { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司详情图片
|
|
/// </summary>
|
|
public string CompanyInfoUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司地址
|
|
/// </summary>
|
|
public string Address { get; set; }
|
|
|
|
}
|
|
|
|
public class AddCompanyInput : CompanyInput
|
|
{
|
|
}
|
|
|
|
public class DeleteCompanyInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class UpdateCompanyInput : CompanyInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class QueryeCompanyInput : DeleteCompanyInput
|
|
{
|
|
|
|
}
|
|
}
|