Binding Models
This commit is contained in:
parent
a8899463d7
commit
66f475ff05
15
Hotel/HotelContracts/BindingModels/MemberBindingModel.cs
Normal file
15
Hotel/HotelContracts/BindingModels/MemberBindingModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class MemberBindingModel : IMemberModel
|
||||
{
|
||||
public string MemberFIO { get; set; } = string.Empty;
|
||||
|
||||
public string Citizenship { get; set; } = string.Empty;
|
||||
|
||||
public int OrganiserId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
19
Hotel/HotelContracts/BindingModels/OrganiserBindingModel.cs
Normal file
19
Hotel/HotelContracts/BindingModels/OrganiserBindingModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelContracts.BindingModels
|
||||
{
|
||||
public class OrganiserBindingModel : IOrganiserModel
|
||||
{
|
||||
public string OrganiserFIO { get; set; } = string.Empty;
|
||||
|
||||
public string OrganiserPassword { get; set; } = string.Empty;
|
||||
|
||||
public string OrganiserLogin { get; set; } = string.Empty;
|
||||
|
||||
public string OrganiserEmail { get; set; } = string.Empty;
|
||||
|
||||
public string OrganiserNumber { get; set; } = string.Empty;
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user