You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
657 B

#nullable disable
using System.ComponentModel.DataAnnotations.Schema;
namespace EC.Entity.CameraInfo
{
public partial class NvrInfo
{
[NotMapped]
public int Number { get; set; }
public long NvrId { get; set; }
public string NvrName { get; set; }
public string NvrType { get; set; }
public string NvrIp { get; set; }
public string UserName { get; set; }
public string UserPwd { get; set; }
public string NvrEnable { get; set; }
[NotMapped]
public bool NvrEnableBool
{
get => NvrEnable != null && NvrEnable.Equals("启用");
set => NvrEnable = value ? "启用" : "禁用";
}
public string NvrAddr { get; set; }
}
}