ปรับ api รายงานทดลองงาน
This commit is contained in:
parent
d0c93b1d96
commit
bf1c2fe925
18 changed files with 1353 additions and 1028 deletions
|
|
@ -10,9 +10,9 @@ namespace BMA.EHR.Application.Responses
|
|||
public class Data
|
||||
{
|
||||
public Experimentee experimentee { get; set; }
|
||||
public List<Mentor> mentors { get; set; }
|
||||
public Commander commander { get; set; }
|
||||
public Chairman chairman { get; set; }
|
||||
public Director1 director1 { get; set; }
|
||||
public Director2 director2 { get; set; }
|
||||
public Assign assign { get; set; }
|
||||
public Evaluate evaluate { get; set; }
|
||||
}
|
||||
|
|
@ -30,94 +30,7 @@ namespace BMA.EHR.Application.Responses
|
|||
public string Oc { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class Mentor
|
||||
{
|
||||
public string dated { get; set; }
|
||||
public Profile profile { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class Commander
|
||||
{
|
||||
public string personal_id { get; set; } = string.Empty;
|
||||
public string name { get; set; } = string.Empty;
|
||||
public string dated { get; set; } = string.Empty;
|
||||
public string Position { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class Chairman
|
||||
{
|
||||
public string dated { get; set; }
|
||||
public Profile profile { get; set; }
|
||||
}
|
||||
|
||||
public class Assign
|
||||
{
|
||||
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 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 chairman_dated { get; set; } = string.Empty;
|
||||
public int knowledge_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 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 int achievement_score { get; set; }
|
||||
public int achievement_score_total { get; set; }
|
||||
public int achievement_percent { get; set; }
|
||||
public int achievement_result { get; set; }
|
||||
public int behavior_score { get; set; }
|
||||
public int behavior_score_total { get; set; }
|
||||
public double behavior_percent { get; set; }
|
||||
public int behavior_result { get; set; }
|
||||
public int develop_orientation_score { get; set; }
|
||||
public int develop_self_learning_score { get; set; }
|
||||
public int develop_training_seminar_score { get; set; }
|
||||
public int develop_other_training_score { get; set; }
|
||||
public int develop_orientation_percent { get; set; }
|
||||
public int develop_self_learning_percent { get; set; }
|
||||
public int develop_training_seminar_percent { get; set; }
|
||||
public int develop_other_training_percent { get; set; }
|
||||
public int develop_result { get; set; }
|
||||
public int sum_score { get; set; }
|
||||
public double sum_percent { get; set; }
|
||||
public int evaluate_result { get; set; }
|
||||
public string createdAt { get; set; } = string.Empty;
|
||||
public string updatedAt { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class Profile
|
||||
{
|
||||
public string personal_id { get; set; } = string.Empty;
|
||||
public string name { get; set; } = string.Empty;
|
||||
|
|
@ -129,5 +42,164 @@ namespace BMA.EHR.Application.Responses
|
|||
public string Department { get; set; } = string.Empty;
|
||||
public string Oc { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class Director1
|
||||
{
|
||||
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 Director2
|
||||
{
|
||||
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 personal_id { get; set; } = string.Empty;
|
||||
public string round_no { get; set; } = string.Empty;
|
||||
public DateTime date_start { get; set; }
|
||||
public DateTime date_finish { get; set; }
|
||||
}
|
||||
|
||||
public class Evaluate
|
||||
{
|
||||
public string id { get; set; }
|
||||
public int no { get; set; }
|
||||
public DateTime date_start { get; set; }
|
||||
public DateTime date_finish { get; set; }
|
||||
public DateTime chairman_dated { get; set; }
|
||||
public DateTime director1_dated { get; set; }
|
||||
public DateTime director2_dated { get; set; }
|
||||
public KnowledgeLevel knowledge_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 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 int achievement_score { get; set; }
|
||||
public int achievement_score_total { get; set; }
|
||||
public double achievement_percent { get; set; }
|
||||
public int achievement_result { get; set; }
|
||||
public int behavior_score { get; set; }
|
||||
public int behavior_score_total { get; set; }
|
||||
public double behavior_percent { get; set; }
|
||||
public int behavior_result { get; set; }
|
||||
public int sum_score { get; set; }
|
||||
public double sum_percent { get; set; }
|
||||
public int develop_orientation_score { get; set; }
|
||||
public int develop_self_learning_score { get; set; }
|
||||
public int develop_training_seminar_score { get; set; }
|
||||
public int develop_other_training_score { get; set; }
|
||||
public int develop_total_score { get; set; }
|
||||
public int develop_orientation_percent { get; set; }
|
||||
public int develop_self_learning_percent { get; set; }
|
||||
public int develop_training_seminar_percent { get; set; }
|
||||
public int develop_other_training_percent { get; set; }
|
||||
public int develop_total_percent { get; set; }
|
||||
public int develop_result { 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 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 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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue