23 lines
No EOL
916 B
C#
23 lines
No EOL
916 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Recruit.Service.Requests.Recruits
|
|
{
|
|
public class CompetitivePeriodRequest
|
|
{
|
|
/// <summary>
|
|
/// วันที่เริ่มต้นของช่วงที่ต้องการกรอง
|
|
/// </summary>
|
|
public DateTime? StartDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// วันที่สิ้นสุดของช่วงที่ต้องการกรอง
|
|
/// </summary>
|
|
public DateTime? EndDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// จำนวนรายการสูงสุดที่ต้องการ (0 = ไม่จำกัด)
|
|
/// </summary>
|
|
[Range(0, int.MaxValue, ErrorMessage = "Limit ต้องมากกว่าหรือเท่ากับ 0")]
|
|
public int Limit { get; set; } = 0;
|
|
}
|
|
} |