package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-02-01
 */
@Getter
@Setter
@TableName("t_camera_increment_log")
public class CameraIncrementLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 相机Id
     */
    @TableField("camera_id")
    private Long cameraId;

    /**
     * 0 授权权益，1解除权益，2绑定相机，3解绑相机
     */
    @TableField("operation_type")
    private Integer operationType;

    /**
     * 操作userId
     */
    @TableField("operation_user")
    private Long operationUser;

    /**
     * 权益Id
     */
    @TableField("increment_id")
    private Long incrementId;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;


}
