package com.fdkankan.scene.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

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

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-01-20
 */
@Getter
@Setter
@TableName("t_scene_cooperation")
public class SceneCooperation implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 场景码
     */
    @TableField("num")
    private String num;

    /**
     * 协作的用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 协作用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 0-有效，1-删除
     */
    @TableField("tb_status")
    @TableLogic
    private Integer tbStatus;


}
