mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
feat(request-limits): 🎉 Started on the request limits, applied to the user model
This commit is contained in:
parent
f83abafdd9
commit
f5310b786b
1 changed files with 14 additions and 0 deletions
|
@ -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,
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue