47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 编号
|
|
/// </summary>
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Display(Description = "主键Id")]
|
|
[Comment("编号")]
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// 摄像头序列号
|
|
/// </summary>
|
|
[Display(Name = "SerialNumber")]
|
|
[Comment("摄像头序列号")]
|
|
public string? SerialNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 摄像头版本信息
|
|
/// </summary>
|
|
[Display(Name = "Version")]
|
|
[Comment("摄像头版本信息")]
|
|
public string? Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备Id
|
|
/// </summary>
|
|
|
|
public int XW_DeviceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 导航属性
|
|
/// </summary>
|
|
public XW_Device XW_Device { get; set; }
|
|
}
|
|
}
|