24 lines
560 B
C#
24 lines
560 B
C#
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
namespace DamageAssesment.Api.Employees.Db
|
|||
|
{
|
|||
|
public class Employee
|
|||
|
{
|
|||
|
[Key]
|
|||
|
public string Id { get; set; }
|
|||
|
|
|||
|
[StringLength(50)]
|
|||
|
public string Name { get; set; }
|
|||
|
|
|||
|
public DateTime BirthDate { get; set; }
|
|||
|
|
|||
|
[StringLength(50)]
|
|||
|
public string OfficePhoneNumber { get; set; }
|
|||
|
|
|||
|
[StringLength(50)]
|
|||
|
public string Email { get; set; }
|
|||
|
public bool IsActive {get;set;}
|
|||
|
public string? PreferredLanguage { get; set; } = "en";
|
|||
|
}
|
|||
|
}
|