package com.fdkankan.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengsixing
 * @since 2021-12-23
 */
@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("scene_code")
    private String sceneCode;

    /**
     * 协作的用户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;

    /**
     * 记录的状态，A: 生效，I: 禁用
     */
    @TableField("rec_status")
    private String recStatus;

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


}
