-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathStationMetaData.cs
45 lines (40 loc) · 954 Bytes
/
StationMetaData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LiteDB;
namespace DBSharp
{
/// <summary>
/// Holds information about a station
/// </summary>
public class StationMetaData : ICloneable
{
/// <summary>
/// name
/// </summary>
[BsonIndex]
public string Name { get; set; }
/// <summary>
/// ds100
/// </summary>
[BsonIndex]
public string DS100 { get; set; }
/// <summary>
/// eva
/// </summary>
[BsonId]
[BsonIndex]
public string EVA { get; set; }
/// <summary>
/// meta
/// </summary>
[BsonIgnore]
public string Meta { get; set; }
public object Clone()
{
return new StationMetaData() { Name = Name, DS100 = DS100, EVA = EVA, Meta = Meta };
}
}
}