using System; using SqlSugar; using System.ComponentModel; using GDZZ.Core.Entity; using System.Collections.Generic; namespace GDZZ.Application.Entity { /// /// 课程表 /// [SugarTable("mini_course")] [Description("课程表")] public class Course : DEntityBase { /// /// 文件描述 /// public string Info { get; set; } /// /// 标价 /// public decimal Price { get; set; } /// /// 标签 /// public string Tags { get; set; } /// /// 缩略图 /// public string Url { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 是否免费 /// public int IsFree { get; set; } /// /// 文件列表 /// [Navigate(NavigateType.OneToMany, nameof(SysFile.CID))] public List SysFiles { get; set; } } }