hrms-api-recruit/Models/MetaData/Relationship.cs

15 lines
558 B
C#
Raw Permalink Normal View History

using BMA.EHR.Recruit.Service.Models;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.MetaData.Service.Models;
2025-01-05 21:59:00 +07:00
public class Relationship : EntityBase
{
[Required, MaxLength(50), Column(Order = 1), Comment("ชื่อความสัมพันธ์")]
2025-01-05 21:59:00 +07:00
public string name { get; set; } = string.Empty;
2025-01-05 21:59:00 +07:00
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}