using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using TEAMModelOS.SDK.Models.Cosmos;
namespace TEAMModelOS.SDK.Models
{
///
/// 教研中心技能点
///
public class Ability :CosmosEntity
{
///
///新建字段 维度 对应 原来的 subjectId 学科
///
public string dimension { get; set; }
///
/// 标号 A1 A2 A3....
///
public string no { get; set; }
///
/// 能力点数量
///
public int abilityCount { get; set; }
///
/// 学时
///
public int hour { get; set; }
///
/// 状态
///
public int status { get; set; } = 1;
///
/// 册别name
///
[Required(ErrorMessage = "{0} 必须填写")]
public string name { get; set; }
///
/// 创建者醍摩豆id
///
public string creatorId { get; set; }
public string creatorName { get; set; }
///
/// 学校编码
///
// [Required(ErrorMessage = "school 必须设置")]
public string school { get; set; }
///
/// school|private
///
[Required(ErrorMessage = "scope 必须设置")]
public string scope { get; set; }
///
/// 原来的 syllabusIds
///
public List abilityTaskIds { get; set; } = new List();
public List auth { get; set; } = new List();
///
/// 评论/话题的统一id,用于被关联
///
public string comid { get; set; }
public string desc { get; set; }
public string env { get; set; }
public string sug { get; set; }
public List stds { get; set; } = new List();
///
///自测练习题试卷 blob地址
///
public string blob { get; set; }
///
///选修false 必修true
///
public bool? compulsory { get; set; }
///
///默认未设置0 必修1 通识2 选修3
///
public int currency { get; set; }
public string standard { get; set; }
public List uncountIds { get; set; } = new List();
}
public class AbilityAuth
{
public string tmdid { get; set; }
public string tmdname { get; set; }
}
public class AbilityStds
{
public string std { get; set; }
public int order { get; set; }
public string id { get; set; }
public List task { get; set; }
}
public class AbilityStdTask
{
public string id { get; set; }
public List type { get; set; } = new List();
public string stddesc { get; set; }
public int limit { get; set; } = 1;
public List titles { get; set; } = new List();
}
public class AbilityStdTitle {
public string id { get; set; }
public string title { get; set; }
public string value { get; set; }
}
}