using System; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.Models.HR { public class ProfileAssessment : EntityBase { [Comment("ชื่อแบบประเมิน")] public string? Name { get; set; } [Comment("วันที่ได้รับ")] public DateTime? Date { get; set; } [Comment("ส่วนที่1 (คะแนน)")] public double? Point1Total { get; set; } [Comment("ผลประเมินส่วนที่1 (คะแนน)")] public double? Point1 { get; set; } [Comment("ส่วนที่2 (คะแนน)")] public double? Point2Total { get; set; } [Comment("ผลประเมินส่วนที่2 (คะแนน)")] public double? Point2 { get; set; } [Comment("ผลรวม (คะแนน)")] public double? PointSumTotal { get; set; } [Comment("ผลประเมินรวม (คะแนน)")] public double? PointSum { get; set; } public virtual List ProfileAssessmentHistorys { get; set; } = new List(); public virtual Profile? Profile { get; set; } } }