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.

115 lines
2.7 KiB

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