using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using VOL.Entity.Enum; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Table("S_Device")] [Entity(TableCnName = "设备表", TableName = "S_Device")] public class S_Device : BaseEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// /// AI设备的唯一编码 /// [Display(Name = "AI设备的唯一编码")] [Comment("AI设备的唯一编码")] [Column(TypeName = "nvarchar(100)")] public string Code { get; set; } /// /// AI设备名称 /// [Display(Name = "AI设备名称")] [Comment("AI设备名称")] [Column(TypeName = "nvarchar(200)")] public string Name { get; set; } /// ///设备类型 /// [Display(Name = "设备类型")] [Comment("设备类型")] [Column(TypeName = "int")] public int DeviceType { get; set; } /// ///学校编号 /// [Display(Name = "学校编号")] [Comment("学校编号")] [Column(TypeName = "nvarchar(100)")] public string SchoolCode { get; set; } /// ///学生学号 /// [Display(Name = "学生学号")] [Comment("学生学号")] [Column(TypeName = "nvarchar(100)")] public string StudentNo { get; set; } } }