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
{
[Table("S_Class")]
public class S_Class : EntityBase
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
///
///学校编号
///
[Display(Name = "学校编号")]
[Comment("学校编号")]
[Column(TypeName = "nvarchar(100)")]
public string SchoolCode { get; set; }
///
///年级Id
///
[Display(Name = "年级Id")]
[Comment("年级Id")]
[Column(TypeName = "int")]
public int GradeId { get; set; }
///
///年级名称
///
[Display(Name = "年级名称")]
[Comment("年级名称")]
[Column(TypeName = "nvarchar(100)")]
public string GradeName { get; set; }
///
///班级名称
///
[Display(Name = "班级名称")]
[Comment("班级名称")]
[Column(TypeName = "nvarchar(100)")]
public string ClassName { get; set; }
}
}