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

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

@Schema(description = "管理后台 - 商品属性 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdPropRespVO {

    @Schema(description = "属性id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14271")
    @ExcelProperty("属性id")
    private Long propId;

    @Schema(description = "属性名称", example = "李四")
    @ExcelProperty("属性名称")
    private String propName;

    @Schema(description = "ProdPropRule 1:销售属性(规格); 2:参数属性;")
    @ExcelProperty("ProdPropRule 1:销售属性(规格); 2:参数属性;")
    private Integer rule;

    @Schema(description = "店铺id", example = "2806")
    @ExcelProperty("店铺id")
    private Long shopId;

    @Schema(description = "商品id", example = "21671")
    @ExcelProperty("商品id")
    private Integer prodId;

    @Schema(description = "是否删除0否1是")
    @ExcelProperty("是否删除0否1是")
    private Integer deleted;

}