package com.cf.imes.module.system.controller.admin.labeltemplate.vo;

import com.alibaba.fastjson.JSONObject;
import com.cf.imes.module.system.dal.dataobject.labelelementproperty.LabelElementPropertyDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LabelElementTemplateRespVO {

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "标签模板id")
    private Long labelTemplateId;
    @Schema(description = "标签元素名称")
    private String name;
    @Schema(description = "元素类型")
    private String type;
    @Schema(description = "数据源id")
    private Long sourceId;
    /*@Schema(description = "标签元素属性")
    private LabelElementPropertyDO propertyDO;*/
    /*@Schema(description = "标签元素属性")
    private Map<String,Object> propertyDO;*/
    @Schema(description = "标签元素属性")
    private JSONObject propertyDO;
}
