using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
///
/// 求职列表输入参数
///
public class JobHuntInput : PageInputBase
{
///
/// 标志
///
public virtual string Tags { get; set; }
///
/// 职业名称
///
public virtual string Position { get; set; }
///
/// 期望工作地点
///
public virtual string Address { get; set; }
///
/// 电话
///
public virtual string Phone { get; set; }
///
/// 学历
///
public virtual string Record { get; set; }
///
/// 经验
///
public virtual string Experience { get; set; }
///
/// 薪资
///
public virtual string Salary { get; set; }
///
/// 年龄
///
public virtual string AgeValue { get; set; }
}
public class AddJobHuntInput: JobHuntInput
{
///
/// 标志
///
[Required(ErrorMessage = "标志不能为空")]
public override string Tags { get; set; }
///
/// 职业名称
///
[Required(ErrorMessage = "职业名称不能为空")]
public override string Position { get; set; }
///
/// 期望工作地点
///
[Required(ErrorMessage = "期望工作地点不能为空")]
public override string Address { get; set; }
///
/// 电话
///
[Required(ErrorMessage = "电话不能为空")]
public override string Phone { get; set; }
///
/// 学历
///
[Required(ErrorMessage = "学历不能为空")]
public override string Record { get; set; }
///
/// 经验
///
[Required(ErrorMessage = "经验不能为空")]
public override string Experience { get; set; }
///
/// 薪资
///
[Required(ErrorMessage = "薪资不能为空")]
public override string Salary { get; set; }
///
/// 年龄
///
[Required(ErrorMessage = "年龄不能为空")]
public override string AgeValue { get; set; }
}
public class DeleteJobHuntInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateJobHuntInput : JobHuntInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeJobHuntInput : DeleteJobHuntInput
{
}
}