28 lines
945 B
C#
28 lines
945 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using BMA.EHR.Domain.Models.Documents;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BMA.EHR.Domain.Models.Discipline
|
|
{
|
|
public class DisciplineDirector : EntityBase
|
|
{
|
|
// [Comment("คำนำหน้าชื่อ")]
|
|
// public Guid Prefix { get; set; }
|
|
|
|
[Required, Comment("ชื่อ")]
|
|
public string FirstName { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("นามสกุล")]
|
|
public string LastName { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("ตำแหน่ง")]
|
|
public string Position { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("อีเมล")]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("เบอร์โทรศัพท์")]
|
|
public string Phone { get; set; } = string.Empty;
|
|
}
|
|
}
|