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

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