28 lines
583 B
C#
28 lines
583 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ThAmCo.Events.Data
|
|
{
|
|
public class Staff
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public string Surname { get; set; }
|
|
|
|
[Required]
|
|
public string FirstName { get; set; }
|
|
|
|
[Required]
|
|
[DataType(DataType.EmailAddress)]
|
|
public string Email { get; set; }
|
|
|
|
public List<Staffing> Staffings { get; set; }
|
|
|
|
public bool FirstAid { get; set; }
|
|
}
|
|
}
|