package com.eshore.gringotts.web.domain.resource.entity.format;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 无格式，整个文件就是一份数据
 *
 * @author lanyuanxiaoyao
 * @date 2024-11-20
 */
@Getter
@Setter
@ToString
@Entity
@DiscriminatorValue("NONE")
public class NoneResourceFormat extends ResourceFormat {
    @Override
    public Type getFormatType() {
        return Type.NONE;
    }
}
