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_SubmittedAssignments")] public class S_SubmittedAssignments { [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 HomeWorkId { get; set; } /// ///学生学号 /// [Display(Name = "学生学号")] [Comment("学生学号")] [Column(TypeName = "nvarchar(100)")] public string StudentNo { get; set; } /// /// 文件类型 /// [Display(Name = "文件类型")] [Comment("文件类型")] [Column(TypeName = "int")] public int FileType { get; set; } /// /// 文件大小 /// [Display(Name = "文件大小")] [Comment("文件大小")] [Column(TypeName = "int")] public int? FileSize { get; set; } /// /// 文件名称 /// [Display(Name = "文件名称")] [Comment("文件名称")] [Column(TypeName = "nvarchar(200)")] public string FileName { get; set; } /// /// 文件地址 /// [Display(Name = "文件地址")] [Comment("文件地址")] [Column(TypeName = "nvarchar(2000)")] public string FilePath { get; set; } } }