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.

59 lines
1.2 KiB

using GDZZ.Application.Enum;
using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 猎头合作管理输入参数
/// </summary>
public class CandidateInput : PageInputBase
{
/// <summary>
/// 猎头ID
/// </summary>
public virtual long HeadID { get; set; }
/// <summary>
/// 候选人ID
/// </summary>
public virtual long CanndidateID { get; set; }
/// <summary>
/// 状态
/// </summary>
public virtual CandidateEnum Status { get; set; }
}
public class AddCandidateInput : CandidateInput
{
}
public class DeleteCandidateInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateCandidateInput : CandidateInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeCandidateInput : DeleteCandidateInput
{
}
}