using Lada.Framework.Data.Enums;

namespace Ladaer.BackEnd.Infrastructures.DTO.Items.Rewards
{
    /// <summary>
    /// Item DTO cho danh sách cấu hình phạt tự động (Search)
    /// </summary>
    public class AutoPenaltyConfigItem
    {
        public int Id { get; set; }
        public bool IsEnabled { get; set; }
        public bool IsPaused { get; set; }
        public string? PauseReason { get; set; }
        public TimeSpan CutoffTimeNextDay { get; set; }
        public ResetPolicy ResetPolicy { get; set; }
        public int MaxAmnestyPerCycle { get; set; }
        public DateTimeOffset EffectiveFrom { get; set; }
        public DateTimeOffset? EffectiveTo { get; set; }
        public DateTimeOffset CreatedTime { get; set; }
        public string CreatedByUserName { get; set; } = string.Empty;
        public int LevelCount { get; set; }
    }
}
