root / trunk / Pithos.Core / FileState.cs @ 0eea575a
History | View | Annotate | Download (1 kB)
1 |
// ----------------------------------------------------------------------- |
---|---|
2 |
// <copyright file="FileState.cs" company="Microsoft"> |
3 |
// TODO: Update copyright text. |
4 |
// </copyright> |
5 |
// ----------------------------------------------------------------------- |
6 |
|
7 |
using Castle.ActiveRecord; |
8 |
using Castle.ActiveRecord.Framework; |
9 |
using Pithos.Interfaces; |
10 |
|
11 |
namespace Pithos.Core |
12 |
{ |
13 |
using System; |
14 |
using System.Collections.Generic; |
15 |
using System.Linq; |
16 |
using System.Text; |
17 |
|
18 |
/// <summary> |
19 |
/// TODO: Update summary. |
20 |
/// </summary> |
21 |
[ActiveRecord] |
22 |
public class FileState:ActiveRecordLinqBase<FileState> |
23 |
{ |
24 |
private string _filePath; |
25 |
|
26 |
[PrimaryKey] |
27 |
public string FilePath |
28 |
{ |
29 |
get { return _filePath; } |
30 |
set { _filePath = value.ToLower(); } |
31 |
} |
32 |
|
33 |
[Property] |
34 |
public FileOverlayStatus OverlayStatus { get; set; } |
35 |
|
36 |
[Property] |
37 |
public FileStatus FileStatus { get; set; } |
38 |
|
39 |
[Property] |
40 |
public string Checksum { get; set; } |
41 |
} |
42 |
} |