package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 场景资源表
 * </p>
 *
 * @author 
 * @since 2022-07-06
 */
@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("name")
    private String name;

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

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

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

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

    /**
     * 版本(v3,v4)
     */
    @TableField("version")
    private String version;

    @TableField("create_time")
    private String createTime;

    @TableField("update_time")
    private String updateTime;

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


}
