31 lines
824 B
C#
Raw Normal View History

2025-06-06 14:57:20 +08:00
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; }
}
}