49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
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; }
|
|
|
|
/// <summary>
|
|
///学校编号
|
|
/// </summary>
|
|
[Display(Name = "学校编号")]
|
|
[Comment("学校编号")]
|
|
[Column(TypeName = "nvarchar(100)")]
|
|
public string SchoolCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备的唯一编码
|
|
/// </summary>
|
|
[Display(Name = "AI设备的唯一编码")]
|
|
[Comment("AI设备的唯一编码")]
|
|
[Column(TypeName = "nvarchar(100)")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备的Mac地址
|
|
/// </summary>
|
|
[Display(Name = "设备的Mac地址")]
|
|
[Comment("设备的Mac地址")]
|
|
[Column(TypeName = "nvarchar(100)")]
|
|
public string Mac { get; set; }
|
|
}
|
|
}
|