31 lines
824 B
C#
31 lines
824 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using YD_WeChatApplet.Api.Entitys;
|
|
|
|
namespace YD_WeChatApplet.Api.SmartSportsEntitys
|
|
{
|
|
/// <summary>
|
|
/// 热门课程
|
|
/// </summary>
|
|
[Table("Y_PopularCurricular")]
|
|
public class Y_PopularCurricular : EntityBase
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Display(Description = "主键Id")]
|
|
[Comment("Id")]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
///课程Id
|
|
/// </summary>
|
|
[Display(Name = "课程Id")]
|
|
[Comment("课程Id")]
|
|
[Column(TypeName = "int)")]
|
|
public int CurricularId { get; set; }
|
|
}
|
|
}
|