feat(request-limits): 🎉 Started on the request limits, applied to the user model

This commit is contained in:
tidusjar 2021-09-21 20:51:04 +01:00
parent f83abafdd9
commit f5310b786b

View file

@ -31,6 +31,13 @@ namespace Ombi.Store.Entities
public int? EpisodeRequestLimit { get; set; } public int? EpisodeRequestLimit { get; set; }
public int? MusicRequestLimit { get; set; } public int? MusicRequestLimit { get; set; }
public RequestLimitType? MovieRequestLimitType { get; set; }
public RequestLimitType? EpisodeRequestLimitType { get; set; }
public RequestLimitType? MusicRequestLimitType { get; set; }
public int? MovieRequestLimitAmount { get; set; }
public int? EpisodeRequestLimitAmount { get; set; }
public int? MusicRequestLimitAmount { get; set; }
public string UserAccessToken { get; set; } public string UserAccessToken { get; set; }
public List<NotificationUserId> NotificationUserIds { get; set; } public List<NotificationUserId> NotificationUserIds { get; set; }
@ -69,4 +76,11 @@ namespace Ombi.Store.Entities
} }
} }
public enum RequestLimitType
{
Day = 0,
Week = 1,
Month = 2,
}
} }