Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / CameraInfo.java
package com.newfiber.api.pc.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @描述:自定义视频分组-视频信息
 * @作者: luzhan
 * @日期: 2022-04-06
 */
@ApiModel(value = "自定义视频分组-视频信息")
@TableName("camera_info")
@Data
public class CameraInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("name")
    @ApiModelProperty(value = "name")
    private String name;
    @TableField("index_code")
    @ApiModelProperty(value = "视频indexCode")
    private String indexCode;
    @TableField("camera_user")
    @ApiModelProperty(value = "用户信息json")
    private String cameraUser;
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @TableField("del_flag")
    @TableLogic(delval = "2")
    @ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
    private String delFlag;
}