You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
using System;
|
|
using SqlSugar;
|
|
using System.ComponentModel;
|
|
using GDZZ.Core.Entity;
|
|
using System.Collections.Generic;
|
|
|
|
namespace GDZZ.Application.Entity
|
|
{
|
|
/// <summary>
|
|
/// 课程表
|
|
/// </summary>
|
|
[SugarTable("mini_course")]
|
|
[Description("课程表")]
|
|
public class Course : DEntityBase
|
|
{
|
|
/// <summary>
|
|
/// 文件描述
|
|
/// </summary>
|
|
public string Info { get; set; }
|
|
/// <summary>
|
|
/// 标价
|
|
/// </summary>
|
|
public decimal Price { get; set; }
|
|
/// <summary>
|
|
/// 标签
|
|
/// </summary>
|
|
public string Tags { get; set; }
|
|
/// <summary>
|
|
/// 缩略图
|
|
/// </summary>
|
|
public string Url { get; set; }
|
|
/// <summary>
|
|
/// 标题
|
|
/// </summary>
|
|
public string Title { get; set; }
|
|
/// <summary>
|
|
/// 是否免费
|
|
/// </summary>
|
|
public int IsFree { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件列表
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToMany, nameof(SysFile.CID))]
|
|
public List<SysFile> SysFiles { get; set; }
|
|
|
|
|
|
}
|
|
} |