using Jiaowu.Api.Domain.Common;

namespace Jiaowu.Api.Domain.Academic;

public sealed class CourseGradeStatisticsRefreshSetting : EntityBase
{
    public const string DefaultKey = "default";

    public string Key { get; set; } = DefaultKey;
    public bool IsEnabled { get; set; } = true;
    public int IntervalSeconds { get; set; } = 300;
    public int BatchSize { get; set; } = 100;
    public DateTime? LastRunAt { get; set; }
}
