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