forked from equinor/flotilla
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeck.cs
More file actions
25 lines (20 loc) · 632 Bytes
/
Copy pathDeck.cs
File metadata and controls
25 lines (20 loc) · 632 Bytes
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
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#pragma warning disable CS8618
namespace Api.Database.Models
{
public class Deck
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public string Id { get; set; }
[Required]
public virtual Plant Plant { get; set; }
[Required]
public virtual Installation Installation { get; set; }
public DefaultLocalizationPose? DefaultLocalizationPose { get; set; }
[Required]
[MaxLength(200)]
public string Name { get; set; }
}
}