hrms-api-report-v1/Models/PositionNumberEntity.cs

25 lines
667 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2023-07-16 20:01:24 +07:00
using BMA.EHR.MetaData.Service.Models;
2023-07-16 20:01:24 +07:00
namespace BMA.EHR.Organization.Service.Models
{
public class PositionNumberEntity : EntityBase
{
[MaxLength(300), Column(Order = 2), Comment("ชื่อ")]
public string? Name { get; set; }
//[ForeignKey("OrganizationShortNameId")]
//public OrganizationShortName? OrganizationShortName_OrganizationShortNameId { get; set; }
[Column(Order = 3), Comment("Shortname")]
public Guid? OrganizationShortNameId { get; set; }
2023-07-16 20:01:24 +07:00
}
}