package it.integry.integrywmsnative.core.rest.serializer;

import com.google.gson.JsonElement;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;

import java.lang.reflect.Type;
import java.time.LocalDateTime;

import it.integry.integrywmsnative.core.model.secondary.StatoPartitaMag;
import it.integry.integrywmsnative.core.utility.UtilityDate;

public class StatoPartitaMagSerializer implements JsonSerializer<StatoPartitaMag> {
    @Override
    public JsonElement serialize(StatoPartitaMag src, Type typeOfSrc, JsonSerializationContext context) {
        return new JsonPrimitive(src.getText());
    }
}
