Upload project.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ThAmCo.Events.Data;
|
||||
|
||||
namespace ThAmCo.Events.Models
|
||||
{
|
||||
public class CustomerCreateModel
|
||||
{
|
||||
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<Event> Events { get; set; }
|
||||
|
||||
public int InitialEvent { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user