using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.NET.Core
{
///
/// 升学规划时间轴
///
[SugarTable("bus_time_axis", "升学规划时间轴")]
public class BusTimeAxis : DEntitySortBase
{
///
/// 时间轴
///
[SugarColumn(ColumnDescription = "时间轴")]
[Required, MaxLength(40)]
public string TimeAxis { get; set; }
///
/// 对应年级(配置表初始化)
///
[SugarColumn(ColumnDescription = "对应年级")]
public int Grade { get; set; }
///
/// 对应上下学期(配置表初始化)
///
[SugarColumn(ColumnDescription = "对应上下学期")]
public int StudyYear { get; set; }
///
/// 大标题
///
[SugarColumn(ColumnDescription = "大标题")]
[Required, MaxLength(200)]
public string BigTitle { get; set; }
///
/// 小标题
///
[SugarColumn(ColumnDescription = "小标题")]
[Required, MaxLength(300)]
public string Title { get; set; }
///
///
///
[SugarColumn(ColumnDescription = "是否标红")]
public int IsColor { get; set; } = 0;
///
/// 节点描述
///
[SugarColumn(ColumnDescription = "节点描述")]
[Required, MaxLength(300)]
public string Summary { get; set; }
///
/// 外部链接
///
[SugarColumn(ColumnDescription = "外部链接")]
[Required, MaxLength(300)]
public string Url { get; set; }
}
}