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.
63 lines
1.3 KiB
63 lines
1.3 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>
|
|
/// 地址
|
|
/// </summary>
|
|
public virtual string Address { get; set; }
|
|
|
|
/// <summary>
|
|
/// 联系电话
|
|
/// </summary>
|
|
public virtual string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司详情
|
|
/// </summary>
|
|
public virtual string Profile { 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
|
|
{
|
|
|
|
}
|
|
}
|