Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / CameraGroupRelation.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.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_group_relation")
@Data
public class CameraGroupRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("group_id")
    @ApiModelProperty(value = "分组id")
    private Long groupId;
    @TableField("camera_id")
    @ApiModelProperty(value = "视频id")
    private Long cameraId;
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}