hrms-api-backend/BMA.EHR.Domain/Models/Base/EntityLinkBase.cs

17 lines
389 B
C#
Raw Normal View History

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
{
public class EntityLinkBase
{
[Key, Column(Order = 0), Comment("PrimaryKey")]
[JsonPropertyName("id")]
public Guid Id { get; set; }
}
}