| | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.data.elasticsearch.annotations.Field; |
| | | import org.springframework.data.elasticsearch.annotations.FieldType; |
| | | |
| | | /** |
| | | * @author:xp |
| | |
| | | public class VideoGoodsDetailVO { |
| | | |
| | | @ApiModelProperty("商品id") |
| | | @Field(type = FieldType.Keyword) |
| | | private String goodsId; |
| | | |
| | | @ApiModelProperty("商品skuid") |
| | | @Field(type = FieldType.Keyword) |
| | | private String id; |
| | | |
| | | @ApiModelProperty("商品名称") |
| | | @Field(type = FieldType.Text, searchAnalyzer = "ik_max_word") |
| | | private String goodsName; |
| | | |
| | | @ApiModelProperty("价格") |
| | | @Field(type = FieldType.Keyword) |
| | | private String price; |
| | | |
| | | @ApiModelProperty("缩略图") |
| | | @Field(type = FieldType.Keyword) |
| | | private String thumbnail; |
| | | |
| | | @ApiModelProperty("商品数量") |
| | | @Field(type = FieldType.Keyword) |
| | | private Integer goodsNum; |
| | | } |