package com.multictrl.modules.business.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 数据缓存表
 *
 * @author Sdy
 * @since 1.0.0 2026-04-27
 */
@Data
@TableName("bus_cache")
public class CacheEntity {

    @TableId
    private Long id;
    /**
     * $column.comments
     */
    private String key;
    /**
     * $column.comments
     */
    private String value;

    @TableField(fill = FieldFill.INSERT)
    private Date createDate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
}