|
|
|
namespace Cis.Application.Cm;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 标签表
|
|
|
|
/// </summary>
|
|
|
|
[SugarTable(CmInfo.CmMarkLabelTbName, CmInfo.CmMarkLabelTbDesc)]
|
|
|
|
[Tenant(CmInfo.DbName)]
|
|
|
|
public class CmMarkLabel : EntityBase
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 相机 Id
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "相机Id")]
|
|
|
|
[Required]
|
|
|
|
public long CbCameraId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 标记组 Id
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "标记组Id")]
|
|
|
|
public long CmMarkGroupId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 名称
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "名称", Length = 64)]
|
|
|
|
[Required]
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Pan 坐标
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "Pan坐标")]
|
|
|
|
public double PanPosition { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Tilt 坐标
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "Tilt坐标")]
|
|
|
|
public double TiltPosition { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Zoom 坐标
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "Zoom坐标")]
|
|
|
|
public double ZoomPosition { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 视频宽度
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "视频宽度")]
|
|
|
|
[Required]
|
|
|
|
public double VideoWidth { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 视频高度
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "视频高度")]
|
|
|
|
[Required]
|
|
|
|
public double VideoHeight { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 画布 left 距离比例
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "画布 left 距离比例")]
|
|
|
|
[Required]
|
|
|
|
public double CanvasLeftRatio { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 画布 top 距离比例
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "画布 top 距离比例")]
|
|
|
|
[Required]
|
|
|
|
public double CanvasTopRatio { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 备注
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "备注", Length = 256)]
|
|
|
|
[MaxLength(256)]
|
|
|
|
public string Remark { get; set; }
|
|
|
|
}
|