package io.gisbi.api.template.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.gisbi.api.template.vo.VisualizationTemplateExtendDataVO;
import io.gisbi.utils.IDUtils;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : WangJiaHao
 * @date : 2023/11/13 10:25
 */
@Data
@NoArgsConstructor
public class VisualizationTemplateExtendDataDTO extends VisualizationTemplateExtendDataVO {


    public VisualizationTemplateExtendDataDTO(Long dvId, Long viewId, String viewDetails) {
        super();
        super.setId(IDUtils.snowID());
        super.setDvId(dvId);
        super.setViewId(viewId);
        super.setViewDetails(viewDetails);
    }
}
