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

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 SkuServiceDeliverRespVO {

    @Schema(description = "服务遗体运输唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "12984")
    @ExcelProperty("服务遗体运输唯一标识符")
    private Long id;

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

    @Schema(description = "交互方式0：快递物流 1：到店自提 2：商家自送", example = "2")
    @ExcelProperty("交互方式0：快递物流 1：到店自提 2：商家自送")
    private Boolean type;

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

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

    @Schema(description = "详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("详细地址")
    private String address;

    @Schema(description = "省")
    @ExcelProperty("省")
    private String province;

    @Schema(description = "市")
    @ExcelProperty("市")
    private String city;

    @Schema(description = "区")
    @ExcelProperty("区")
    private String area;

    @Schema(description = "电话号码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("电话号码")
    private String tel;

}