using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TEAMModelOS.SDK.Models.Cosmos.Common
{
public class Volume: CosmosEntity
{
///
/// 0默认教学课纲的册别 1个人或单独的专题课纲册别 2,系统课纲
///
// public int type { get; set; }
///
/// 学段
///
public string periodId { get; set; }
///
/// 学科
///
public string subjectId { get; set; }
///
/// 年级
///
public int gradeId { get; set; }
///
/// 学期code
///
public string semesterId { get; set; }
///
/// 状态
///
public int status { get; set; } = 1;
///
/// 册别name
///
[Required(ErrorMessage = "{0} 必须填写")]
public string name { get; set; }
///
/// 册别code
///
// public string volumeCode { get; set; }
///
/// 创建者醍摩豆id
///
public string creatorId { get; set; }
public string creatorName { get; set; }
///
/// 共编使用者 的醍摩豆id
///
// public List editors { get; set; }
//public int resourceCount { get; set; }
//public int itemCount { get; set; }
///
/// 学校编码
///
// [Required(ErrorMessage = "school 必须设置")]
public string school { get; set; }
// public bool repeat { get; set; }
///
/// school|private
///
[Required(ErrorMessage = "scope 必须设置")]
public string scope { get; set; }
public List syllabusIds { get; set; } = new List();
public List auth { get; set; } = new List();
}
public class VolumeAuth {
public string tmdid { get; set; }
public string tmdname { get; set; }
}
}