hrms-api-backend/BMA.EHR.Domain/Models/AvailablePositionLevelEntity.cs
Suphonchai Phoonsawat a0b3b13074 Add MetaData Table From ExistData
Change to use MySQL
2023-06-26 14:02:04 +07:00

24 lines
640 B
C#

using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.Organization.Service.Models
{
public class AvailablePositionLevelEntity : EntityBase
{
[ForeignKey("PositionMasterId")]
public PositionMasterEntity? PositionMaster_PositionMasterId { get; set; }
[Column(Order = 2), Comment("PositionMasterId")]
public Guid? PositionMasterId { get; set; }
[Column(Order = 3), Comment("PositionLevelId")]
public Guid? PositionLevelId { get; set; }
}
}