|
|
|
|
using GDZZ.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Magic.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 求职列表输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class JobHuntInput : PageInputBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 职业名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Career { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 个人简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Info { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 期望工作地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Tags { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string phone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 头像
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Logo { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AddJobHuntInput : JobHuntInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 职业名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "职业名称不能为空")]
|
|
|
|
|
public override string Career { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 个人简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "个人简介不能为空")]
|
|
|
|
|
public override string Info { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 期望工作地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "期望工作地点不能为空")]
|
|
|
|
|
public override string Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "标志不能为空")]
|
|
|
|
|
public override string Tags { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "电话不能为空")]
|
|
|
|
|
public override string phone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 头像
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "头像不能为空")]
|
|
|
|
|
public override string Logo { 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
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|