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_GatewayAssocSchool")] [Entity(TableCnName = "学校表", TableName = "S_School")] public class S_GatewayAssocSchool : BaseEntity { [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; } /// /// 设备的唯一编码 /// [Display(Name = "AI设备的唯一编码")] [Comment("AI设备的唯一编码")] [Column(TypeName = "nvarchar(100)")] public string Code { get; set; } /// /// 设备的Mac地址 /// [Display(Name = "设备的Mac地址")] [Comment("设备的Mac地址")] [Column(TypeName = "nvarchar(100)")] public string Mac { get; set; } } }