using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TEAMModelOS.SDK.Models
{
public class Elegant : CosmosEntity
{
public string title { get; set; }
public string content { get; set; }
public string school { get; set; }
///
/// 发布状态
///
public string scope { get; set; }
public string creatorId { get; set; }
///
/// 发布状态
///
[Required(ErrorMessage = "publish 必须设置")]
public int publish { get; set; } = 0;
///
/// 开始时间
///
public long startTime { get; set; }
///
/// 创建时间
///
public long createTime { get; set; }
///
/// 结束时间
///
public long endTime { get; set; }
///
/// 结束时间
///
public bool autoDelete { get; set; } = false;
///
/// school, course,class
///
public string type { get; set; }
public string periodId { get; set; }
public List classes { get; set; } = new List();
public List attachments { get; set; } = new List();
public string target { get; set; }
///
/// 业务类型。elegant 德育, art 艺术,弃用
///
// public List bizCode { get; set; }
public List bizType { get; set; } = new List();
///
/// image video
///
public string fileType { get; set; }
}
}