package org.dromara.zhishu.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.zhishu.domain.BookBaseInfo;

import java.io.Serial;
import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BookVo.class)
public class BookVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "书号(必填)")
    private String bookNum;

    @ExcelProperty(value = "价格(必填)")
    private String price;

    @ExcelProperty(value = "库存(必填)")
    private String stock;

    @ExcelProperty(value = "商品编码")
    private String code;

    @ExcelProperty(value = "书名")
    private String bookName;

    @ExcelProperty(value = "规格编码")
    private String artNo;

    @ExcelProperty(value = "商品图片")
    private String bookImgUrl;

    private String logMsg;
}
