package com.ruoyi.goods.domain.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import com.ruoyi.common.core.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author jqs34
|
* @ClassName MgtGoodsPageVo
|
* @description: TODO
|
* @date 2023年06月01日
|
* @version: 1.0
|
*/
|
@Data
|
public class MgtGoodsPageVo {
|
|
@Excel(name = "序号", width = 30, sort = 1)
|
@ApiModelProperty(value = "商品id")
|
private String goodsId;
|
|
@Excel(name = "商品名称", width = 30, sort = 3)
|
@ApiModelProperty(value = "商品名称")
|
private String goodsName;
|
|
@Excel(name = "商品简介", width = 30, sort = 4)
|
@ApiModelProperty(value = "商品简介")
|
private String goodsIntroduction;
|
|
@Excel(name = "所属分类", width = 30, sort = 6)
|
@ApiModelProperty(value = "商品分类")
|
private String goodsClass;
|
|
@Excel(name = "标签", width = 30, sort = 7)
|
@ApiModelProperty(value = "商品标签")
|
private String goodsTags;
|
|
@Excel(name = "商品封面", width = 30, sort = 2)
|
@ApiModelProperty(value = "商品图片")
|
private String goodsPicture;
|
|
@Excel(name = "商品类型", width = 30, sort = 6)
|
@ApiModelProperty(value = "商品类型1周期2服务3体验4单品")
|
private String goodsType;
|
|
@Excel(name = "建议售价", width = 30, sort = 8)
|
@ApiModelProperty(value = "商品建议售价")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private BigDecimal suggestSalesPrice;;
|
|
@Excel(name = "最低售价", width = 30, sort = 9)
|
@ApiModelProperty(value = "最低售价")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private BigDecimal mininumPrice;;
|
|
@Excel(name = "销量", width = 30, sort = 10)
|
@ApiModelProperty(value = "销量")
|
private Integer buyNumCount;
|
|
@Excel(name = "销售额", width = 30, sort = 11)
|
@ApiModelProperty(value = "销售额")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private BigDecimal buyMoneyTotal;
|
|
@Excel(name = "是否推荐", width = 30, sort = 12)
|
@ApiModelProperty(value = "是否推荐")
|
private String recommendFlag;
|
|
@Excel(name = "状态", width = 30, sort = 13)
|
@ApiModelProperty(value = "商品状态")
|
private String goodsStatus;
|
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 14)
|
@ApiModelProperty(value = "创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
|
}
|