package com.yc.ship.module.product.controller.admin.pricetemplate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 附加产品设置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PriceSpuRespVO {

    @Schema(description = "价格模板ID或者船票价格ID", example = "7825")
    @ExcelProperty("价格模板ID或者船票价格ID")
    private Long objectId;

    @Schema(description = "附加产品ID", example = "1881")
    @ExcelProperty("附加产品ID")
    private Long spuId;

    @Schema(description = "附加产品名称", example = "")
    @ExcelProperty("附加产品名称")
    private String productName;

    @Schema(description = "附加产品价格")
    @ExcelProperty("附加产品价格")
    private BigDecimal salePrice;

    @Schema(description = "附加产品分组")
    @ExcelProperty("附加产品分组")
    private String categoryName;

    @Schema(description = "是否必选")
    @ExcelProperty("是否必选")
    private Integer required;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}