namespace YBEE.EQM.Application;

/// <summary>
/// 家长问卷填答状态输入参数
/// </summary>
public class ExamPatriarchQuestionnaireProgressOutput
{
    /// <summary>
    /// 主键
    /// </summary>
    [Required]
    public long Id { get; set; }
    /// <summary>
    /// 问卷编码
    /// </summary>
    [Required]
    public string QuestionnaireCode { get; set; }
    /// <summary>
    /// 监测学生ID
    /// </summary>
    [Required]
    public long ExamStudentId { get; set; }
    /// <summary>
    /// 填答手机号码
    /// </summary>
    [StringLength(20)]
    public string Mobile { get; set; }
    /// <summary>
    /// 提交时间
    /// </summary>
    public DateTime? SubmitTime { get; set; }
    /// <summary>
    /// 是否已完成
    /// </summary>
    [Required]
    public bool IsCompleted { get; set; } = false;
    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 监测学生
    /// </summary>
    public ExamStudentOrgOutput ExamStudent { get; set; }
}
