using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
///
/// 招聘消息输入参数
///
public class RecruitMessageInput : PageInputBase
{
///
/// 租户Id
///
public virtual long TenantId { get; set; }
///
/// 职位详情
///
public virtual string PositionInfo { get; set; }
///
/// 标题
///
public virtual string Title { get; set; }
///
/// 状态
///
public virtual int Status { get; set; }
///
/// 省份
///
public virtual int ProvinceId { get; set; }
///
/// 城市
///
public virtual int CityId { get; set; }
///
/// 区
///
public virtual int AreaId { get; set; }
///
/// 详细地址
///
public virtual int Address { get; set; }
///
/// 联系电话
///
public virtual string Phone { get; set; }
///
/// 标签
///
public virtual string Tag { get; set; }
///
/// 学历
///
public virtual int Education { get; set; }
///
/// 经验
///
public virtual int Experience { get; set; }
}
public class AddRecruitMessageInput : RecruitMessageInput
{
///
/// 职位详情
///
[Required(ErrorMessage = "职位详情不能为空")]
public override string PositionInfo { get; set; }
///
/// 标题
///
[Required(ErrorMessage = "标题不能为空")]
public override string Title { get; set; }
}
public class DeleteRecruitMessageInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateRecruitMessageInput : RecruitMessageInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeRecruitMessageInput : DeleteRecruitMessageInput
{
}
}