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