-
Notifications
You must be signed in to change notification settings - Fork 0
/
Analyst.cs
32 lines (26 loc) · 829 Bytes
/
Analyst.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
using System;
public enum AccountStatusType {
AwaitingConfirmation,
Active,
PendingUserTermination,
UserTerminated,
AdminTerminated
}
namespace DriverTracker.Models {
public class Analyst {
public int UserID {get; set;}
public string Username {get; set;}
public string FullName {get; set;}
public string Email {get; set;}
public string? PhoneNumber {get; set;}
public string? SMSNumber {get; set;}
public int AccountStatus {get; set;}
public bool ReceivesSMSAlertsNewDrivers {get; set;}
public bool ReceivesSMSAlertsDriversTerminated {get; set;}
public bool ReceivesSMSAlertsLongDriverWaits {get; set;}
public double SMSAlertDriverWaitTime {get; set;}
}
public class AnalystDBContext : DbContext {
public DbSet<Analyst> Analysts {get; set;}
}
}