package com.zksy.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 场站视频监控设备表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "station_video_device", schema = "app_user")
public class StationVideoDevice {

    @TableId(value = "video_id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty("视频设备ID")
    private String videoId;

    @ApiModelProperty("关联场站ID")
    private String stationId;

    @ApiModelProperty("摄像头名称")
    private String deviceName;

    @ApiModelProperty("设备编码")
    private String deviceCode;

    @ApiModelProperty("视频流地址")
    private String videoUrl;

    @ApiModelProperty("安装位置描述")
    private String location;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("厂商")
    private String manufacturer;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
