2023-06-26 14:02:04 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
2023-06-26 15:18:39 +07:00
|
|
|
|
namespace BMA.EHR.Domain.Models.Base
|
2023-06-26 14:02:04 +07:00
|
|
|
|
{
|
|
|
|
|
|
public class EntityLinkBase
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key, Column(Order = 0), Comment("PrimaryKey")]
|
|
|
|
|
|
[JsonPropertyName("id")]
|
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|