mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
added repo base
This commit is contained in:
parent
9e4bb278ef
commit
34038245eb
2 changed files with 45 additions and 29 deletions
|
@ -1,26 +1,14 @@
|
|||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.RootFolders;
|
||||
using PetaPoco;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public interface IRootDir
|
||||
{
|
||||
int Id { get; set; }
|
||||
string Path { get; set; }
|
||||
|
||||
[ResultColumn]
|
||||
ulong FreeSpace { get; set; }
|
||||
|
||||
[Ignore]
|
||||
List<string> UnmappedFolders { get; set; }
|
||||
}
|
||||
|
||||
[TableName("RootDirs")]
|
||||
[PrimaryKey("Id", autoIncrement = true)]
|
||||
public class RootDir : IRootDir
|
||||
public class RootDir : BaseModel
|
||||
{
|
||||
public virtual int Id { get; set; }
|
||||
|
||||
public string Path { get; set; }
|
||||
|
||||
[ResultColumn]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue