package com.gxwebsoft.common.system.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 缓存管理
 *
 * @author WebSoft
 * @since 2022-11-19 13:54:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "Setting对象", description = "缓存管理")
public class Cache implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "key")
    private String key;

    @Schema(description = "设置内容（json格式）")
    private String content;

    @Schema(description = "过期时间(秒)")
    private Long expireTime;

    @Schema(description = "租户id")
    private Integer tenantId;

}
