80 lines
2.0 KiB
C#
80 lines
2.0 KiB
C#
|
|
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
|
|
{
|
|
/// <summary>
|
|
/// 升学规划时间轴
|
|
/// </summary>
|
|
[SugarTable("bus_time_axis", "升学规划时间轴")]
|
|
public class BusTimeAxis : DEntitySortBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 时间轴
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "时间轴")]
|
|
[Required, MaxLength(40)]
|
|
public string TimeAxis { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 对应年级(配置表初始化)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "对应年级")]
|
|
public int Grade { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 对应上下学期(配置表初始化)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "对应上下学期")]
|
|
public int StudyYear { get; set; }
|
|
|
|
/// <summary>
|
|
/// 大标题
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "大标题")]
|
|
[Required, MaxLength(200)]
|
|
public string BigTitle { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 小标题
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "小标题")]
|
|
[Required, MaxLength(300)]
|
|
public string Title { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否标红")]
|
|
public int IsColor { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 节点描述
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "节点描述")]
|
|
[Required, MaxLength(300)]
|
|
public string Summary { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 外部链接
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "外部链接")]
|
|
[Required, MaxLength(300)]
|
|
public string Url { get; set; }
|
|
|
|
|
|
}
|
|
}
|