using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TEAMModelOS.SDK.Models
{
public class Notice :CosmosEntity
{
public string title { get; set; }
public string content { get; set; }
public string school { get; set; }
///
/// 发布状态
///
[Required(ErrorMessage = "scope 必须设置")]
public string scope { get; set; }
[Required(ErrorMessage = "creatorId 必须设置")]
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 List classes { get; set; } = new List();
public List attachments { get; set; } = new List();
}
}