package org.dromara.work.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.work.domain.TpProd;

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


/**
 * 商品视图对象 tp_prod
 *
 * @author Maosw
 * @date 2025-03-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TpProd.class)
public class TpProdVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 商品标题
     */
    @ExcelProperty(value = "商品标题")
    private String title;

    /**
     * 商品主图
     */
    @ExcelProperty(value = "商品主图")
    private String pic;

    /**
     * 商品图片，以,分割
     */
    @ExcelProperty(value = "商品图片，以,分割")
    private String imgs;

    /**
     * 视频地址
     */
    @ExcelProperty(value = "视频地址")
    private String video;

    /**
     * 详细描述
     */
    @ExcelProperty(value = "详细描述")
    private String content;

    /**
     * 商品参数json
     */
    @ExcelProperty(value = "商品参数json")
    private String parame;

    /**
     * 展示价
     */
    @ExcelProperty(value = "展示价")
    private Long price;

    /**
     * 成本价
     */
    @ExcelProperty(value = "成本价")
    private Long oriPrice;

    /**
     * 状态：1-上架，2-下架
     */
    @ExcelProperty(value = "状态：1-上架，2-下架")
    private Long status;

    /**
     * 库存
     */
    @ExcelProperty(value = "库存")
    private Long stocks;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
