package com.ghy.goods.domain;

import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.List;

/**
 * 商品图片
 * @author clunt
 */
@Data
public class GoodsImgs extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Excel(name = "图片序号", cellType = Excel.ColumnType.NUMERIC)
    private Long goodsImgsId;

    @Excel(name = "商品id", cellType = Excel.ColumnType.STRING)
    private Long goodsId;

    @Excel(name = "图片url", cellType = Excel.ColumnType.STRING)
    private String imgUrl;

    @Excel(name = "图片类型 0.轮播图 1.详情图", cellType = Excel.ColumnType.NUMERIC)
    private Integer imgType;

    private List<Long> remarks;

}
