namespace Cis.Application.Cb; /// /// 相机表 /// [SugarTable(CbInfo.CbCameraTbName, CbInfo.CbCameraTbDesc)] [Tenant(CbInfo.DbName)] public class CbCamera : EntityBase { /// /// 名称 /// [SugarColumn(ColumnDescription = "名称", Length = 64)] [Required, MaxLength(64)] public string Name { get; set; } /// /// ip 地址 /// [SugarColumn(ColumnDescription = "ip地址", Length = 16)] [Required, MaxLength(16)] public string Ip { get; set; } /// /// 账号 /// [SugarColumn(ColumnDescription = "账号", Length = 32)] [Required, MaxLength(32)] public string UserName { get; set; } /// /// 密码 /// [SugarColumn(ColumnDescription = "密码", Length = 32)] [Required, MaxLength(32)] public string Password { get; set; } /// /// 相机参数 Id /// [SugarColumn(ColumnDescription = "相机参数Id")] [Required] public long CbCameraParamsId { get; set; } }