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

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.time.LocalDateTime;

@Schema(description = "管理后台 - 商品和标签管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdTagsRespVO {

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8574")
    @ExcelProperty("商品id")
    private Long productId;

    @Schema(description = "标签id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24317")
    @ExcelProperty("标签id")
    private Long tagId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}