-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathBusinessEventType.cs
More file actions
32 lines (27 loc) · 928 Bytes
/
BusinessEventType.cs
File metadata and controls
32 lines (27 loc) · 928 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
26
27
28
29
30
31
32
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Prime.Models
{
[Table("BusinessEventTypeLookup")]
public sealed class BusinessEventType : ILookup<int>
{
public const int StatusChange = 1;
public const int Email = 2;
public const int Note = 3;
public const int AdminAction = 4;
public const int Enrollee = 5;
public const int Site = 6;
public const int AdminView = 7;
public const int Organization = 8;
public const int PharmanetApiCall = 9;
public const int PaperEnrolmentLink = 10;
public const int Absence = 11;
[Key]
public int Code { get; set; }
public string Name { get; set; }
[JsonIgnore]
public ICollection<BusinessEvent> BusinessEvents { get; set; }
}
}