2013-01-29 01:59:18 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using PetaPoco;
|
2011-03-09 07:40:48 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
|
{
|
2013-02-04 04:18:59 +00:00
|
|
|
|
public interface IRootDir
|
|
|
|
|
{
|
|
|
|
|
int Id { get; set; }
|
|
|
|
|
string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
[ResultColumn]
|
|
|
|
|
ulong FreeSpace { get; set; }
|
|
|
|
|
|
|
|
|
|
[Ignore]
|
|
|
|
|
List<string> UnmappedFolders { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2011-06-17 15:27:18 +00:00
|
|
|
|
[TableName("RootDirs")]
|
|
|
|
|
[PrimaryKey("Id", autoIncrement = true)]
|
2013-02-04 04:18:59 +00:00
|
|
|
|
public class RootDir : IRootDir
|
2011-03-09 07:40:48 +00:00
|
|
|
|
{
|
2011-03-31 01:42:27 +00:00
|
|
|
|
public virtual int Id { get; set; }
|
2011-03-09 07:40:48 +00:00
|
|
|
|
|
|
|
|
|
public string Path { get; set; }
|
2011-10-15 18:54:39 +00:00
|
|
|
|
|
|
|
|
|
[ResultColumn]
|
|
|
|
|
public ulong FreeSpace { get; set; }
|
2013-01-29 01:59:18 +00:00
|
|
|
|
|
|
|
|
|
[Ignore]
|
|
|
|
|
public List<string> UnmappedFolders { get; set; }
|
2011-03-09 07:40:48 +00:00
|
|
|
|
}
|
2011-04-10 02:44:01 +00:00
|
|
|
|
}
|