package com.tashow.cloud.productapi.api.product.vo.skuservicedetails;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 服务详情 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SkuServiceDetailsRespVO {

    @Schema(description = "服务详情的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "17139")
    @ExcelProperty("服务详情的唯一标识符")
    private Long id;

    @Schema(description = "关联的扩展服务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21602")
    @ExcelProperty("关联的扩展服务ID")
    private Long serviceId;

    @Schema(description = "图片")
    @ExcelProperty("图片")
    private String pic;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "价格", example = "16929")
    @ExcelProperty("价格")
    private BigDecimal price;

    @Schema(description = "是否收费0:免费1收费")
    @ExcelProperty("是否收费0:免费1收费")
    private Boolean isCharge;

    @Schema(description = "是否默认值0否1是")
    @ExcelProperty("是否默认值0否1是")
    private Boolean isDefault;

    @Schema(description = "类型：0：配置信息1：交付方式", example = "2")
    @ExcelProperty("类型：0：配置信息1：交付方式")
    private Boolean type;

    @Schema(description = "描述")
    @ExcelProperty("描述")
    private String describeContent;

    /**
     * 地点
     */
    private String adress;

    /**
     * 触发节点名称
     */
    private String triggerName;


    /**
     * 触发节点id（或关联节点）
     */
    private Long triggerId;


    /**
     * 是否并行0串行1并行
     */
    private Integer isParallel;
}