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 java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 场景封存状态表
 * </p>
 *
 * @author 
 * @since 2024-09-03
 */
@Getter
@Setter
@TableName("t_scene_cold_storage")
public class SceneColdStorage implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 1-冻结，2-解冻
     */
    @TableField("state")
    private Integer state;

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

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

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

    /**
     * 冷存储bucket
     */
    @TableField("cold_bucket")
    private String coldBucket;

    /**
     * 正常使用bucket
     */
    @TableField("bucket")
    private String bucket;


}
