hrms-api-exam/Models/Placement/PositionPath.cs

19 lines
704 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Recurit.Exam.Service.Models;
using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.Domain.Models.Placement
{
public class PositionPath : EntityBaseNoIsActive
{
[Required, MaxLength(100), Column(Order = 1), Comment("ชื่อสายงาน")]
public string Name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
[Column(Order = 3), Comment("หมายเหตุ")]
public string Note { get; set; } = string.Empty;
}
}