mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Added the availablility checker #2313 !wip
This commit is contained in:
parent
5df232f3f5
commit
82d610e235
14 changed files with 148 additions and 16 deletions
|
@ -13,5 +13,10 @@ namespace Ombi.Store.Entities
|
|||
public bool Monitored { get; set; }
|
||||
public string Title { get; set; }
|
||||
public decimal PercentOfTracks { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool PartiallyAvailable => PercentOfTracks != 100 && PercentOfTracks > 0;
|
||||
[NotMapped]
|
||||
public bool FullyAvailable => PercentOfTracks == 100;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue