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.

103 lines
2.3 KiB

using Furion.DataValidation;
using GDZZ.Application.Enum;
using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 小程序招聘列表输入参数
/// </summary>
public class MiniResumeInput : PageInputBase
{
public long CompanyID { get; set; }
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 要求
/// </summary>
public string Sak { get; set; }
/// <summary>
/// 详情
/// </summary>
public string Info { get; set; }
/// <summary>
/// 地区名
/// </summary>
public string RegionName { get; set; }
/// <summary>
/// 地区ID
/// </summary>
public string RegionStrID { get; set; }
/// <summary>
/// 经验
/// </summary>
public string Level { get; set; }
/// <summary>
/// 学历
/// </summary>
public string Record { get; set; }
/// <summary>
/// 公司名称
/// </summary>
public string CompanyName { get; set; }
/// <summary>
/// 待遇
/// </summary>
public string Salary { get; set; }
/// <summary>
/// 待遇
/// </summary>
public string SalaryID { get; set; }
/// <summary>
/// 状态
/// </summary>
public ResumeStatusEnum Status { get; set; }
/// <summary>
/// 招聘类型
/// </summary>
[DataValidation(AllowNullValue = true)]
public ResumeTypeEnum? TypeEnum { get; set; }
}
public class AddMiniResumeInput : MiniResumeInput
{
}
public class DeleteMiniResumeInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateMiniResumeInput : MiniResumeInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeMiniResumeInput : DeleteMiniResumeInput
{
}
}