| 123456789101112131415161718192021 |
- using System;
- namespace RestaurantApp.Models
- {
- public class Employee
- {
- public int EmployeeId { get; set; }
- public int PositionId { get; set; }
- public string PositionTitle { get; set; }
- public string FirstName { get; set; }
- public string LastName { get; set; }
- public string MiddleName { get; set; }
- public string Phone { get; set; }
- public string Email { get; set; }
- public DateTime HireDate { get; set; }
- public decimal Salary { get; set; }
- public bool IsActive { get; set; }
- public string FullName => $"{LastName} {FirstName} {MiddleName}".Trim();
- }
- }
|