18 lines
579 B
C#
18 lines
579 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace LCU.Library.Internal.DispatcherModels.Entities
|
|
{
|
|
public class CleanUpJobSetting
|
|
{
|
|
public int CleanUpJobSettingId { get; set; }
|
|
[Required]
|
|
[Range(-1000, 0, ErrorMessage = "Value must be 0 or a negative number. ")]
|
|
public int CompletionDaysPast { get; set; }
|
|
[ForeignKey("CleanUpJobSettingId")]
|
|
public ICollection<CleanUpJobTag> CleanUpJobTags { get; set; }
|
|
}
|
|
}
|