report 1-4 เำิม่หมายเหตุแนวนอน

This commit is contained in:
Kittapath 2023-10-08 12:41:53 +07:00
parent 5530c2f9e4
commit 2da120f958
32 changed files with 51300 additions and 13 deletions

View file

@ -9,6 +9,8 @@ namespace BMA.EHR.Domain.Models.Retirement
{
[Comment("ครั้งที่")]
public int Round { get; set; }
[Comment("ประกาศ ณ วันที่")]
public DateTime? SignDate { get; set; }
[Comment("ประเภทคำสั่ง")]
public string? TypeReport { get; set; } = string.Empty;
[Comment("ปีงบประมาณ")]

View file

@ -9,6 +9,8 @@ namespace BMA.EHR.Domain.Models.Retirement
{
[Comment("ครั้งที่")]
public int Round { get; set; }
[Comment("ประกาศ ณ วันที่")]
public DateTime? SignDate { get; set; }
[Comment("ประเภทคำสั่ง")]
public string? TypeReport { get; set; } = string.Empty;
[Comment("ปีงบประมาณ")]

View file

@ -45,5 +45,30 @@ namespace BMA.EHR.Domain.Models.Retirement
public string? Suggestion { get; set; }
[Comment("กําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก")]
public DateTime? AppointDate { get; set; }
[Comment("คะแนนข้อ 1")]
public int? Score1 { get; set; }
[Comment("คะแนนข้อ 2")]
public int? Score2 { get; set; }
[Comment("คะแนนข้อ 3")]
public int? Score3 { get; set; }
[Comment("คะแนนข้อ 4")]
public int? Score4 { get; set; }
[Comment("คะแนนข้อ 5")]
public int? Score5 { get; set; }
[Comment("คะแนนข้อ 6")]
public int? Score6 { get; set; }
[Comment("คะแนนข้อ 7")]
public int? Score7 { get; set; }
[Comment("คะแนนข้อ 8")]
public int? Score8 { get; set; }
[Comment("คะแนนข้อ 9")]
public int? Score9 { get; set; }
[Comment("คะแนนข้อ 10")]
public int? Score10 { get; set; }
[Comment("คะแนนรวม")]
public int? ScoreTotal { get; set; }
[Comment("ความคิดเห็น")]
public string? Comment { get; set; }
}
}

View file

@ -0,0 +1,82 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Documents;
using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementQuestionnaireQuestion : EntityBase
{
[Comment("คำถามข้อที่ 1")]
public string? Question1Desc { get; set; }
[Comment("คำตอบข้อที่ 1")]
public string? Question1Score { get; set; }
[Comment("กรอกคะแนน 1")]
public string? Question1Answer { get; set; }
[Comment("คำถามข้อที่ 2")]
public string? Question2Desc { get; set; }
[Comment("คำตอบข้อที่ 2")]
public string? Question2Score { get; set; }
[Comment("กรอกคะแนน 2")]
public string? Question2Answer { get; set; }
[Comment("คำถามข้อที่ 3")]
public string? Question3Desc { get; set; }
[Comment("คำตอบข้อที่ 3")]
public string? Question3Score { get; set; }
[Comment("กรอกคะแนน 3")]
public string? Question3Answer { get; set; }
[Comment("คำถามข้อที่ 4")]
public string? Question4Desc { get; set; }
[Comment("คำตอบข้อที่ 4")]
public string? Question4Score { get; set; }
[Comment("กรอกคะแนน 4")]
public string? Question4Answer { get; set; }
[Comment("คำถามข้อที่ 5")]
public string? Question5Desc { get; set; }
[Comment("คำตอบข้อที่ 5")]
public string? Question5Score { get; set; }
[Comment("กรอกคะแนน 5")]
public string? Question5Answer { get; set; }
[Comment("คำถามข้อที่ 6")]
public string? Question6Desc { get; set; }
[Comment("คำตอบข้อที่ 6")]
public string? Question6Score { get; set; }
[Comment("กรอกคะแนน 6")]
public string? Question6Answer { get; set; }
[Comment("คำถามข้อที่ 7")]
public string? Question7Desc { get; set; }
[Comment("คำตอบข้อที่ 7")]
public string? Question7Score { get; set; }
[Comment("กรอกคะแนน 7")]
public string? Question7Answer { get; set; }
[Comment("คำถามข้อที่ 8")]
public string? Question8Desc { get; set; }
[Comment("คำตอบข้อที่ 8")]
public string? Question8Score { get; set; }
[Comment("กรอกคะแนน 8")]
public string? Question8Answer { get; set; }
[Comment("คำถามข้อที่ 9")]
public string? Question9Desc { get; set; }
[Comment("คำตอบข้อที่ 9")]
public string? Question9Score { get; set; }
[Comment("กรอกคะแนน 9")]
public string? Question9Answer { get; set; }
[Comment("คำถามข้อที่ 10")]
public string? Question10Desc { get; set; }
[Comment("คำตอบข้อที่ 10")]
public string? Question10Score { get; set; }
[Comment("กรอกคะแนน 10")]
public string? Question10Answer { get; set; }
}
}

View file

@ -55,6 +55,8 @@ namespace BMA.EHR.Domain.Models.Retirement
public string? CommanderRejectReason { get; set; }
[Comment("วันที่ยับยั้งผู้บังคับบัญชา")]
public DateTime? CommanderRejectDate { get; set; }
[Comment("หมายเหตุแนวนอน")]
public string? RemarkHorizontal { get; set; }
public virtual List<RetirementResignDoc> RetirementResignDocs { get; set; } = new List<RetirementResignDoc>();
}