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 = 5, DefaultValue = "80")]
[Required, MaxLength(5)]
public string Port { 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; }
}