hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileAssessment.cs
Suphonchai Phoonsawat 68dab7a727 Add Profile Table
2023-06-26 15:18:39 +07:00

29 lines
1.3 KiB
C#

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<ProfileAssessmentHistory> ProfileAssessmentHistorys { get; set; } = new List<ProfileAssessmentHistory>();
public virtual Profile? Profile { get; set; }
}
}