using System;
using System.Collections.Generic;
using System.Text;
using TEAMModelOS.SDK.Context.Attributes.Azure;
using System.Text.Json.Serialization;
using System.ComponentModel.DataAnnotations;
namespace TEAMModelOS.Service.Models.Syllabus
{
public class Volume
{
///
/// id生成规则
///
public string id { get; set; }
///
/// 0默认教学课纲的册别 1个人或单独的专题课纲册别
///
public int type { get; set; }
///
/// Type 如果为0 则是学校编码 如果为1 则是seminar 专题/研讨/培训
///
[PartitionKey]
[Required(ErrorMessage = "{0} 必须填写")]
public string schoolCode { get; set; }
public string periodCode { get; set; }
public string subjectCode { get; set; }
public string gradeCode { get; set; }
public string semesterCode { get; set; }
public int status { get; set; } = 1;
[Required(ErrorMessage = "{0} 必须填写")]
public string volumeName { get; set; }
public string volumeCode { get; set; }
[JsonPropertyName("TEAMModelId")]
public string TEAMModelId { get; set; }
public string[] editors { get; set; }
}
}