using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using YD_XinWei.Api.Entitys;
namespace YD_XinWei.Api.SmartSportsEntitys
{
[Table("S_Student")]
public class S_Student : 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 ClassId { get; set; }
///
///班级名称
///
[Display(Name = "班级名称")]
[Comment("班级名称")]
[Column(TypeName = "nvarchar(100)")]
public string ClassName { get; set; }
///
///学生学号
///
[Display(Name = "学生学号")]
[Comment("学生学号")]
[Column(TypeName = "nvarchar(100)")]
public string StudentNo { get; set; }
///
///学籍号
///
[Display(Name = "学籍号")]
[Comment("学籍号")]
[Column(TypeName = "nvarchar(100)")]
public string? SchoolRollNo { get; set; }
///
///地方学籍号
///
[Display(Name = "地方学籍号")]
[Comment("地方学籍号")]
[Column(TypeName = "nvarchar(100)")]
public string? PlaceSchoolRollNo { get; set; }
///
/// 心率设备正面编号
///
[Display(Name = "心率设备正面编号")]
[Comment("心率设备正面编号")]
[Column(TypeName = "nvarchar(100)")]
public string? HeartRateFrontNo { get; set; }
///
/// 心率设备ID
///
[Display(Name = "心率设备ID")]
[Comment("心率设备ID")]
[Column(TypeName = "nvarchar(100)")]
public string? HeartRateId { get; set; }
///
/// 心率设备二维码编号
///
[Display(Name = "心率设备二维码编号")]
[Comment("心率设备二维码编号")]
[Column(TypeName = "nvarchar(100)")]
public string? HeartRateQRCode { get; set; }
///
/// 跳绳编号
///
[Display(Name = "跳绳编号")]
[Comment("跳绳编号")]
[Column(TypeName = "nvarchar(100)")]
public string? RopeSkipQRCode { get; set; }
///
/// 跳绳二维码编号
///
[Display(Name = "跳绳二维码编号")]
[Comment("跳绳二维码编号")]
[Column(TypeName = "nvarchar(100)")]
public string? RopeSkipNo { get; set; }
///
/// 中长跑芯片编号
///
[Display(Name = "中长跑芯片编号")]
[Comment("中长跑芯片编号")]
[Column(TypeName = "nvarchar(100)")]
public string? RunChipNo { get; set; }
///
/// 训练时长
///
[Display(Name = "训练时长")]
[Comment("训练时长")]
[Column(TypeName = "float")]
public float? TotalTrainTime { get; set; }
///
/// 训练次数
///
[Display(Name = "训练次数")]
[Comment("训练次数")]
[Column(TypeName = "int")]
public int? TotalTrainNumber { get; set; }
///
///身份证
///
[Display(Name = "身份证")]
[Comment("身份证")]
[Column(TypeName = "nvarchar(50)")]
public string? IDCard { get; set; }
///
///学生名族
///
[Display(Name = "学生名族")]
[Comment("学生名族")]
[Column(TypeName = "nvarchar(50)")]
public string? StudentNation { get; set; }
///
///学生名称
///
[Display(Name = "学生名称")]
[Comment("学生名称")]
[Column(TypeName = "nvarchar(100)")]
public string StudentName { get; set; }
///
///年龄
///
[Display(Name = "年龄")]
[Comment("年龄")]
[Column(TypeName = "int")]
public int Age { get; set; }
///
///性别
///
[Display(Name = "性别")]
[Comment("性别")]
[Column(TypeName = "int")]
public int Sex { get; set; }
///
///学生照片
///
[Display(Name = "学生照片")]
[Comment("学生照片")]
[Column(TypeName = "nvarchar(2000)")]
public string Photo { get; set; }
///
///民族
///
[Display(Name = "民族")]
[Comment("民族")]
[Column(TypeName = "nvarchar(20)")]
public string? Nation { get; set; }
///
///家庭住址
///
[Display(Name = "家庭住址")]
[Comment("家庭住址")]
[Column(TypeName = "nvarchar(200)")]
public string? HomeAddress { get; set; }
///
///状态
///
[Display(Name = "状态")]
[Comment("状态")]
[Column(TypeName = "int")]
public int StudentStatus { get; set; }
///
///出生日期
///
[Display(Name = "出生日期")]
[Comment("出生日期")]
[Column(TypeName = "datetime")]
public DateTime? Birthday { get; set; }
///
///家长姓名
///
[Display(Name = "家长姓名")]
[Comment("家长姓名")]
[Column(TypeName = "nvarchar(20)")]
public string? ParentName { get; set; }
///
///家长联系方式
///
[Display(Name = "家长联系方式")]
[Comment("家长联系方式")]
[Column(TypeName = "nvarchar(20)")]
public string? ParentPhoneNo { get; set; }
///
/// 小程序密码
///
[Display(Name = "小程序密码")]
[Comment("小程序密码")]
[Column(TypeName = "nvarchar(100)")]
public string? AppletPwd { get; set; }
///
///备注
///
[Display(Name = "备注")]
[Comment("备注")]
[Column(TypeName = "text")]
public string? Remarks { get; set; }
///
///创建人
///
[Display(Name = "创建人")]
[Comment("创建人")]
[Column(TypeName = "int)")]
public int Creator { get; set; }
///
///创建时间
///
[Display(Name = "创建时间")]
[Comment("创建时间")]
[Column(TypeName = "datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
///
///修改人
///
[Display(Name = "修改人")]
[Comment("修改人")]
[Column(TypeName = "int)")]
public int Modifier { get; set; }
///
///修改时间
///
[Display(Name = "修改时间")]
[Comment("修改时间")]
[Column(TypeName = "datetime")]
public DateTime? ModifyDate { get; set; }
}
}