package com.bcxin.Infrastructures.components.models;

import lombok.Getter;

import java.io.Serializable;

@Getter
public class DataCacheItem<T> extends CacheItemAbstract<T>{
    public DataCacheItem(T data) {
        super(data);
    }

    public static <T> DataCacheItem<T> create(T data) {
        return new DataCacheItem<>(data);
    }
}
