package cn.axzo.msg.center.service.card.request;

import cn.axzo.msg.center.service.pending.card.domain.CardElementConfig;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @description
 *
 * @author cold_blade
 * @date 2023/10/11
 * @version 1.0
 */
@Setter
@Getter
public class CardStyleUpdateRequest implements Serializable {

    private static final long serialVersionUID = -2894419272913799317L;

    /**
     * 样式名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 预览大图
     */
    private List<String> previewImages;

    /**
     * 卡片元素配置
     */
    private List<CardElementConfig> elementConfigs;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
