Skip to content

Commit

Permalink
feat(request-limits): 🎉 Started on the request limits, applied to the…
Browse files Browse the repository at this point in the history
… user model
  • Loading branch information
tidusjar committed Sep 21, 2021
1 parent f83abaf commit f5310b7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Ombi.Store/Entities/OmbiUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ public class OmbiUser : IdentityUser
public int? EpisodeRequestLimit { 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 List<NotificationUserId> NotificationUserIds { get; set; }
Expand Down Expand Up @@ -69,4 +76,11 @@ public override string ConcurrencyStamp
}

}

public enum RequestLimitType
{
Day = 0,
Week = 1,
Month = 2,
}
}

0 comments on commit f5310b7

Please sign in to comment.