using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using SqlSugar; namespace OpenAuth.Repository.Domain; /// /// 算法实例 /// [SugarTable("lasa_algoinstance")] public class LasaAlgoInstance { /// /// 主键ID /// [Key] [SugarColumn(IsPrimaryKey = true, ColumnName = "Id")] public string Id { get; set; } /// /// 名称 /// [SugarColumn(ColumnName = "Name")] [Required] public string Name { get; set; } /// /// 封面 /// [SugarColumn(ColumnName = "Cover")] public string Cover { get; set; } /// /// 显示方案 /// [SugarColumn(ColumnName = "DisplayScheme")] public string DisplayScheme { get; set; } /// /// 描述 /// [SugarColumn(ColumnName = "Description")] public string Description { get; set; } /// /// 显示颜色 /// [SugarColumn(ColumnName = "DisplayColor")] public string DisplayColor { get; set; } /// /// 画面识别区域水平方向 /// [SugarColumn(ColumnName = "RecognitionX")] public float? RecognitionX { get; set; } /// /// 画面识别区域垂直方向 /// [SugarColumn(ColumnName = "RecognitionY")] public float? RecognitionY { get; set; } /// /// 空间红束是否开启 0未开启 1开启 Constraint /// [SugarColumn(ColumnName = "SpaceConstraint")] public short? SpaceConstraint { get; set; } /// /// 外扩距离 /// [SugarColumn(ColumnName = "ExpansionDistance")] public int? ExpansionDistance { get; set; } /// /// 时间约束是否开启 0未开启 1开启 /// [SugarColumn(ColumnName = "TemporalConstraint")] public short? TemporalConstraints { get; set; } /// /// 时间约束开始时间 /// [SugarColumn(ColumnName = "TcStartTime")] public DateTime? TcStartTime { get; set; } /// /// 时间约束结束时间 /// [SugarColumn(ColumnName = "TcEndTime")] public DateTime? TcEndTime { get; set; } /// /// 飞行速度 /// [SugarColumn(ColumnName = "FlySpeed")] public string FlySpeed { get; set; } /// /// 云台俯仰角 /// [SugarColumn(ColumnName = "GimbalPitchDegree")] public string GimbalPitchDegree { get; set; } /// /// 识别对象画面占比 /// [SugarColumn(ColumnName = "RecognitionCoverage")] public string RecognitionCoverage { get; set; } /// /// 标签 /// [SugarColumn(ColumnName = "Tags")] public string Tags { get; set; } [SugarColumn(ColumnName = "AlgoIds")] public string AlgoIds { get; set; } /// /// 推送平台 /// public string Platform { get; set; } }