Camera Information System
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.
 
 
 
 

44 lines
1.0 KiB

namespace Cis.Application.Cb;
/// <summary>
/// 系统字典类型表
/// </summary>
[SugarTable(CbInfo.CbCameraTbName, CbInfo.CbCameraTbDesc)]
[Tenant(CbInfo.DbName)]
public class CbCamera : EntityBase
{
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnDescription = "名称", Length = 64)]
[Required, MaxLength(64)]
public string Name { get; set; }
/// <summary>
/// ip 地址
/// </summary>
[SugarColumn(ColumnDescription = "ip地址", Length = 16)]
[Required, MaxLength(16)]
public string Ip { get; set; }
/// <summary>
/// 端口
/// </summary>
[SugarColumn(ColumnDescription = "端口", Length = 5, DefaultValue = "80")]
[Required, MaxLength(5)]
public string Port { get; set; }
/// <summary>
/// 账号
/// </summary>
[SugarColumn(ColumnDescription = "账号", Length = 32)]
[Required, MaxLength(32)]
public string UserName { get; set; }
/// <summary>
/// 密码
/// </summary>
[SugarColumn(ColumnDescription = "密码", Length = 32)]
[Required, MaxLength(32)]
public string Password { get; set; }
}