using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
///
/// 招聘公司输入参数
///
public class CompanyInput : PageInputBase
{
///
/// 租户Id
///
public virtual long TenantId { get; set; }
///
/// 地址
///
public virtual string Address { get; set; }
///
/// 联系电话
///
public virtual string Phone { get; set; }
///
/// 公司详情
///
public virtual string Profile { 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
{
}
}