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_resource")
public class SceneResource implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 权限名称
     */
    @TableField("resource_name")
    private String resourceName;

    /**
     * 英文名
     */
    @TableField("en_name")
    private String enName;

    /**
     * 权限key
     */
    @TableField("key_word")
    private String keyWord;

    /**
     * 权限图标
     */
    @TableField("icon")
    private String icon;

    /**
     * 资源描述
     */
    @TableField("description")
    private String description;

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

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

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


}
