1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-05 22:42:23 +00:00
Lidarr/NzbDrone.Core/Repository/RootDir.cs
2013-02-15 16:52:48 -08:00

32 lines
No EOL
681 B
C#

using System.Collections.Generic;
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 virtual int Id { get; set; }
public string Path { get; set; }
[ResultColumn]
public ulong FreeSpace { get; set; }
[Ignore]
public List<string> UnmappedFolders { get; set; }
}
}