using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using YD_XinWei.Api.Entitys; namespace VOL.Entity.DomainModels.XinWei { [Table("XW_CameraInfo")] public class XW_CameraInfo : EntityBase { /// /// 编号 /// [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("编号")] public int Id { get; set; } /// /// 摄像头序列号 /// [Display(Name = "SerialNumber")] [Comment("摄像头序列号")] public string? SerialNumber { get; set; } /// /// 摄像头版本信息 /// [Display(Name = "Version")] [Comment("摄像头版本信息")] public string? Version { get; set; } /// /// 设备Id /// public int XW_DeviceId { get; set; } /// /// 导航属性 /// public XW_Device XW_Device { get; set; } } }