package org.dromara.zhishu.domain.vo;

import org.dromara.zhishu.domain.ZhishuShopGoodsDetail;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 商品信息补全表视图对象 zhishu_shop_goods_detail
 *
 * @author yxy
 * @date 2025-06-13
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ZhishuShopGoodsDetail.class)
public class ZhishuShopGoodsDetailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 商品id
     */
    @ExcelProperty(value = "商品id")
    private Long pid;

    /**
     * 作者
     */
    @ExcelProperty(value = "作者")
    private String author;

    /**
     * 出版社
     */
    @ExcelProperty(value = "出版社")
    private String publisher;

    /**
     * 出版时间
     */
    @ExcelProperty(value = "出版时间")
    private String publishertime;

    /**
     * 开本
     */
    @ExcelProperty(value = "开本")
    private String format;

    /**
     * 字数
     */
    @ExcelProperty(value = "字数")
    private String wordage;

    /**
     * 统一书号
     */
    @ExcelProperty(value = "统一书号")
    private String unifiedisbn;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
