ปรับ api รายงานทดลองงาน

This commit is contained in:
Harid Promsri (Bright) 2023-09-12 10:28:31 +07:00
parent d0c93b1d96
commit bf1c2fe925
18 changed files with 1353 additions and 1028 deletions

View file

@ -10,97 +10,202 @@ namespace BMA.EHR.Application.Responses
public class Data
{
public Experimentee experimentee { get; set; }
public Person person { get; set; }
public Director director { get; set; }
public Assign assign { get; set; }
public List<Evaluate> evaluate { get; set; }
public Evaluate evaluate { get; set; }
}
public class Experimentee
{
public string personal_id { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
public string PositionId { get; set; } = string.Empty;
public string PositionLevelId { get; set; } = string.Empty;
public string PositionLineId { get; set; } = string.Empty;
public string OrganizationOrganization { get; set; } = string.Empty;
public string Position { get; set; } = string.Empty;
public string Department { get; set; } = string.Empty;
public string Oc { get; set; } = string.Empty;
public string personal_id { get; set; }
public string name { get; set; }
public string PositionId { get; set; }
public string PositionLevelId { get; set; }
public string PositionLineId { get; set; }
public string Position { get; set; }
public string Department { get; set; }
public string OrganizationOrganization { get; set; }
public string Oc { get; set; }
}
public class Person
public class Director
{
public string personal_id { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
public string PositionId { get; set; } = string.Empty;
public string PositionLevelId { get; set; } = string.Empty;
public string PositionLineId { get; set; } = string.Empty;
public string OrganizationOrganization { get; set; } = string.Empty;
public string Position { get; set; } = string.Empty;
public string Department { get; set; } = string.Empty;
public string Oc { get; set; } = string.Empty;
public string personal_id { get; set; }
public string name { get; set; }
public string PositionId { get; set; }
public string PositionLevelId { get; set; }
public string PositionLineId { get; set; }
public string Position { get; set; }
public string Department { get; set; }
public string OrganizationOrganization { get; set; }
public string Oc { get; set; }
}
public class Assign
{
public string date_start { get; set; } = string.Empty;
public string date_finish { get; set; } = string.Empty;
public string behavior_desc { get; set; } = string.Empty;
public string other_desc { get; set; } = string.Empty;
public string other4_desc { get; set; } = string.Empty;
public string other5_no1_desc { get; set; } = string.Empty;
public string other5_no2_desc { get; set; } = string.Empty;
public string experimenter_dated { get; set; } = string.Empty;
public string id { get; set; }
public string personal_id { get; set; }
public string round_no { get; set; }
public DateTime date_start { get; set; }
public DateTime date_finish { get; set; }
}
public class Evaluate
{
public string id { get; set; } = string.Empty;
public string director_id { get; set; } = string.Empty;
public string assign_id { get; set; } = string.Empty;
public string no { get; set; } = string.Empty;
public string date_start { get; set; } = string.Empty;
public string date_finish { get; set; } = string.Empty;
public string assessor_dated { get; set; } = string.Empty;
public int knowledge_level { get; set; }
public int skill_level { get; set; }
public int competency_level { get; set; }
public int learn_level { get; set; }
public int apply_level { get; set; }
public string achievement_other_desc { get; set; } = string.Empty;
public int? achievement_other_level { get; set; }
public string achievement_strength_desc { get; set; } = string.Empty;
public string achievement_improve_desc { get; set; } = string.Empty;
public int conduct1_level { get; set; }
public int conduct2_level { get; set; }
public int conduct3_level { get; set; }
public int conduct4_level { get; set; }
public int moral1_level { get; set; }
public int moral2_level { get; set; }
public int moral3_level { get; set; }
public int discipline1_level { get; set; }
public int discipline2_level { get; set; }
public int discipline3_level { get; set; }
public int discipline4_level { get; set; }
public int discipline5_level { get; set; }
public string behavior_other_desc { get; set; } = string.Empty;
public int? behavior_other_level { get; set; }
public string behavior_strength_desc { get; set; } = string.Empty;
public string behavior_improve_desc { get; set; } = string.Empty;
public int orientation { get; set; }
public int self_learning { get; set; }
public int training_seminar { get; set; }
public int other_training { get; set; }
public string createdAt { get; set; } = string.Empty;
public string updatedAt { get; set; } = string.Empty;
public List<Achievements> achievements { get; set; }
public string id { get; set; }
public string no { get; set; }
public DateTime date_start { get; set; }
public DateTime date_finish { get; set; }
public DateTime sign_dated { get; set; }
public KnowledgeLevel knowledge_level { get; set; }
public SkillLevel skill_level { get; set; }
public CompetencyLevel competency_level { get; set; }
public LearnLevel learn_level { get; set; }
public ApplyLevel apply_level { get; set; }
public AchievementOtherLevel achievement_other_level { get; set; }
public string achievement_other_desc { get; set; }
public string achievement_strength_desc { get; set; }
public string achievement_improve_desc { get; set; }
public ConductLevel conduct1_level { get; set; }
public ConductLevel conduct2_level { get; set; }
public ConductLevel conduct3_level { get; set; }
public ConductLevel conduct4_level { get; set; }
public MoralLevel moral1_level { get; set; }
public MoralLevel moral2_level { get; set; }
public MoralLevel moral3_level { get; set; }
public DisciplineLevel discipline1_level { get; set; }
public DisciplineLevel discipline2_level { get; set; }
public DisciplineLevel discipline3_level { get; set; }
public DisciplineLevel discipline4_level { get; set; }
public DisciplineLevel discipline5_level { get; set; }
public BehaviorLevel behavior_other_level { get; set; }
public string behavior_other_desc { get; set; }
public string behavior_strength_desc { get; set; }
public string behavior_improve_desc { get; set; }
public string orientation { get; set; }
public string self_learning { get; set; }
public string training_seminar { get; set; }
public string other_training { get; set; }
public string role { get; set; }
public DateTime createdAt { get; set; }
public DateTime updatedAt { get; set; }
public List<Achievement> achievements { get; set; }
}
public class Achievements
public class Achievement
{
public string evaluate_expect_desc { get; set; } = string.Empty;
public int evaluate_expect_level { get; set; }
public string evaluate_output_desc { get; set; } = string.Empty;
public int evaluate_output_level { get; set; }
public string evaluate_expect_desc { get; set; }
public EvaluateExpectLevel evaluate_expect_level { get; set; }
public string evaluate_output_desc { get; set; }
public EvaluateOutputLevel evaluate_output_level { get; set; }
}
public class EvaluateExpectLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class EvaluateOutputLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class KnowledgeLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class SkillLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class CompetencyLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class LearnLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class ApplyLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class AchievementOtherLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class ConductLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class MoralLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class DisciplineLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
public class BehaviorLevel
{
public string col1 { get; set; }
public string col2 { get; set; }
public string col3 { get; set; }
public string col4 { get; set; }
public string col5 { get; set; }
}
}
}