16 lines
389 B
C#
16 lines
389 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace BMA.EHR.Domain.Models.Base
|
|
{
|
|
public class EntityLinkBase
|
|
{
|
|
[Key, Column(Order = 0), Comment("PrimaryKey")]
|
|
[JsonPropertyName("id")]
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
}
|
|
}
|