16 lines
544 B
C#
16 lines
544 B
C#
using BMA.EHR.Recruit.Service.Models;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.MetaData.Service.Models
|
|
{
|
|
public class Gender : EntityBase
|
|
{
|
|
[Required, MaxLength(20), Column(Order = 1), Comment("เพศ")]
|
|
public string name { get; set; } = string.Empty;
|
|
|
|
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
|
// public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|