gunshi-project-ss/src/main/java/com/gunshi/project/xyt/model/StCameraB.java

153 lines
3.6 KiB
Java
Raw Normal View History

2024-01-24 14:27:40 +08:00
package com.gunshi.project.xyt.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
2024-01-24 16:32:03 +08:00
import java.io.Serializable;
2024-01-24 14:27:40 +08:00
import java.math.BigDecimal;
import java.util.Date;
2024-01-25 10:28:20 +08:00
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
2024-01-24 14:27:40 +08:00
import lombok.Data;
/**
*
*/
@Schema(description="视频点信息")
@Data
@TableName(value = "dbo.ST_CAMERA_B")
2024-01-24 16:32:03 +08:00
public class StCameraB implements Serializable {
2024-01-24 14:27:40 +08:00
/**
* id
*/
@TableId(value = "CAM_ID", type = IdType.INPUT)
2024-01-25 10:28:20 +08:00
@Schema(description="视频点id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
2024-01-24 14:27:40 +08:00
private Long camId;
/**
*
*/
@TableField(value = "CAM_NM")
@Schema(description="视频点名称")
2024-01-25 10:28:20 +08:00
@NotBlank
@Size(max = 200)
2024-01-24 14:27:40 +08:00
private String camNm;
/**
*
*/
@TableField(value = "CAM_TYPE")
@Schema(description="监控点类型")
2024-01-25 10:28:20 +08:00
@NotNull
2024-01-24 14:27:40 +08:00
private Long camType;
/**
*
*/
@TableField(value = "CAM_CH")
2024-01-25 10:28:20 +08:00
@Schema(description="通道号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
2024-01-24 14:27:40 +08:00
private Integer camCh;
/**
*
*/
@TableField(value = "CAM_AR_ID")
@Schema(description="所在区域")
2024-01-25 10:28:20 +08:00
@NotNull
2024-01-24 14:27:40 +08:00
private Long camArId;
/**
* IP
*/
@TableField(value = "CAM_URL")
@Schema(description="摄像头连接地址 IP和端口")
2024-01-25 10:28:20 +08:00
@NotNull
@Size(max = 200)
2024-01-24 14:27:40 +08:00
private String camUrl;
/**
*
*/
@TableField(value = "CAM_SN")
@Schema(description="视频序列号")
2024-01-25 10:28:20 +08:00
@NotBlank
2024-01-24 14:27:40 +08:00
private String camSn;
/**
*
*/
@TableField(value = "LGTD")
@Schema(description="经度")
2024-01-25 10:28:20 +08:00
@NotNull
2024-01-24 14:27:40 +08:00
private BigDecimal lgtd;
/**
*
*/
@TableField(value = "LTTD")
@Schema(description="纬度")
2024-01-25 10:28:20 +08:00
@NotNull
2024-01-24 14:27:40 +08:00
private BigDecimal lttd;
/**
*
*/
@TableField(value = "COMMENTS")
2024-01-25 10:28:20 +08:00
@Schema(description="备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@Size(max = 200)
2024-01-24 14:27:40 +08:00
private String comments;
/**
*
*/
@TableField(value = "CREATE_TM")
2024-01-25 10:28:20 +08:00
@Schema(description="新建时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
2024-01-24 14:27:40 +08:00
private Date createTm;
/**
*
*/
@TableField(value = "TM")
2024-01-25 10:28:20 +08:00
@Schema(description="修改时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
2024-01-24 14:27:40 +08:00
private Date tm;
/**
* 1 0
*/
@TableField(value = "[STATUS]")
@Schema(description="状态 1启用 0禁用")
2024-01-25 10:28:20 +08:00
@NotNull
2024-01-24 14:27:40 +08:00
private Integer status;
2024-01-25 10:28:20 +08:00
2024-01-24 14:27:40 +08:00
public static final String COL_CAM_ID = "CAM_ID";
public static final String COL_CAM_NM = "CAM_NM";
public static final String COL_CAM_TYPE = "CAM_TYPE";
public static final String COL_CAM_CH = "CAM_CH";
public static final String COL_CAM_AR_ID = "CAM_AR_ID";
public static final String COL_CAM_URL = "CAM_URL";
public static final String COL_CAM_SN = "CAM_SN";
public static final String COL_LGTD = "LGTD";
public static final String COL_LTTD = "LTTD";
public static final String COL_COMMENTS = "COMMENTS";
public static final String COL_CREATE_TM = "CREATE_TM";
public static final String COL_TM = "TM";
public static final String COL_STATUS = "STATUS";
}