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.
101 lines
2.4 KiB
101 lines
2.4 KiB
using GDZZ.Core;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GDZZ.Application
|
|
{
|
|
/// <summary>
|
|
/// 求职信息输入参数
|
|
/// </summary>
|
|
public class JobhuntMessageInput : 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 Experience { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标签
|
|
/// </summary>
|
|
public virtual string Tag { get; set; }
|
|
|
|
/// <summary>
|
|
/// 省份
|
|
/// </summary>
|
|
public virtual int ProvinceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 城市
|
|
/// </summary>
|
|
public virtual int CityId { get; set; }
|
|
|
|
}
|
|
|
|
public class AddJobhuntMessageInput : JobhuntMessageInput
|
|
{
|
|
/// <summary>
|
|
/// 租户Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "租户Id不能为空")]
|
|
public override long TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 求职详情
|
|
/// </summary>
|
|
[Required(ErrorMessage = "求职详情不能为空")]
|
|
public override string PositionInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 求职标题
|
|
/// </summary>
|
|
[Required(ErrorMessage = "求职标题不能为空")]
|
|
public override string Title { get; set; }
|
|
|
|
}
|
|
|
|
public class DeleteJobhuntMessageInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class UpdateJobhuntMessageInput : JobhuntMessageInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class QueryeJobhuntMessageInput : DeleteJobhuntMessageInput
|
|
{
|
|
|
|
}
|
|
}
|