create project
This commit is contained in:
commit
ffeab6a127
196 changed files with 36968 additions and 0 deletions
14
Models/Relationship.cs
Normal file
14
Models/Relationship.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Models;
|
||||
|
||||
public class Relationship : EntityBase
|
||||
{
|
||||
[Required, MaxLength(50), Column(Order = 1), Comment("ชื่อความสัมพันธ์")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 2), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue