//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2023-03-17 11:59:00 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace IRaCIS.Core.Application.ViewModel
{
    /// <summary> SubjectCriteriaEvaluationView  列表视图模型 </summary>
    public class SubjectCriteriaEvaluationView
    {
        public Guid? Id { get; set; }
        public Guid SubjectId { get; set; }
        public Guid TrialReadingCriterionId { get; set; }

        public DateTime? CreateTime { get; set; }
        public Guid? CreateUserId { get; set; }
        public Guid? UpdateUserId { get; set; }
        public DateTime? UpdateTime { get; set; }


        public bool? IsImageFiltering { get; set; }

        public bool? IsJoinEvaluation { get; set; }

        public string SubjectCode { get; set; }

        public string TrialSiteCode { get; set; }
        public SubjectStatus SubjectStatus { get; set; }

        public List<EvaluationInfo> FinalEvaluationList { get; set; } = new List<EvaluationInfo>();


        public List<EvaluationInfo> ReadingEvaluationList { get; set; } = new List<EvaluationInfo>();
    }


    public class EvaluationInfo
    {

        public Guid? QuestionId { get; set; }

        public Arm? ArmEnum { get; set; }
        public string Answer { get; set; }

        public string FinalTranslateDictionaryCode { get; set; } = string.Empty;
    }



    ///<summary>SubjectCriteriaEvaluationQuery  列表查询参数模型</summary>
    public class SubjectCriteriaEvaluationQuery : PageInput
    {
        [NotDefault]
        public Guid TrialId { get; set; }

        [NotDefault]
        public Guid TrialReadingCriterionId { get; set; }
        public string SubjectCode { get; set; } = string.Empty;

        public string TrialSiteCode { get; set; } = string.Empty;
        public SubjectStatus? SubjectStatus { get; set; }

        public bool? IsImageFiltering { get; set; }

        public bool? IsJoinEvaluation { get; set; }
    }

    ///<summary> SubjectCriteriaEvaluationAddOrEdit  列表查询参数模型</summary>
    public class SubjectCriteriaEvaluationAddOrEdit
    {
        public Guid? Id { get; set; }
        public Guid SubjectId { get; set; }
        public Guid TrialReadingCriterionId { get; set; }
        public bool IsJoinEvaluation { get; set; }
    }


}


