ปรับ 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,7 +10,7 @@ namespace BMA.EHR.Application.Responses
public class Data
{
public Experimentee experimentee { get; set; }
public Person person { get; set; }
public Commander commander { get; set; }
public Assign assign { get; set; }
public Evaluate evaluate { get; set; }
}
@ -28,7 +28,7 @@ namespace BMA.EHR.Application.Responses
public string Oc { get; set; } = string.Empty;
}
public class Person
public class Commander
{
public string personal_id { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
@ -45,57 +45,227 @@ namespace BMA.EHR.Application.Responses
{
public string personal_id { get; set; } = string.Empty;
public string round_no { get; set; } = string.Empty;
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 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 commander_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 int success_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 string id { get; set; }
public int 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 SuccessLevel success_level { get; set; }
public string achievement_other_desc { get; set; }
public AchievementOtherLevel achievement_other_level { get; set; }
public Conduct1Level conduct1_level { get; set; }
public Conduct2Level conduct2_level { get; set; }
public Conduct3Level conduct3_level { get; set; }
public Conduct4Level conduct4_level { get; set; }
public Moral1Level moral1_level { get; set; }
public Moral2Level moral2_level { get; set; }
public Moral3Level moral3_level { get; set; }
public Discipline1Level discipline1_level { get; set; }
public Discipline2Level discipline2_level { get; set; }
public Discipline3Level discipline3_level { get; set; }
public Discipline4Level discipline4_level { get; set; }
public Discipline5Level discipline5_level { get; set; }
public BehaviorOtherLevel 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 DateTime createdAt { get; set; }
public DateTime updatedAt { 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 SuccessLevel
{
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 Conduct1Level
{
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 Conduct2Level
{
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 Conduct3Level
{
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 Conduct4Level
{
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 Moral1Level
{
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 Moral2Level
{
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 Moral3Level
{
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 Discipline1Level
{
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 Discipline2Level
{
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 Discipline3Level
{
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 Discipline4Level
{
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 Discipline5Level
{
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 BehaviorOtherLevel
{
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; }
}
}
}