27 lines
561 B
C#
27 lines
561 B
C#
|
using HotelDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace HotelContracts.BindingModels
|
|||
|
{
|
|||
|
public class WorkerBindingModel : IWorkerModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
public int PostId { get; set; }
|
|||
|
|
|||
|
public string FIO { get; set; } = string.Empty;
|
|||
|
|
|||
|
public DateTime DateOfBirth { get; set; } = DateTime.Now;
|
|||
|
|
|||
|
public int WorkExperience { get; set; }
|
|||
|
|
|||
|
public int Salary { get; set; }
|
|||
|
|
|||
|
public string Phone { get; set; } = string.Empty;
|
|||
|
}
|
|||
|
}
|