package com.ruoyi.controller.resp;

import com.ruoyi.frequency.workspanorama.entity.WorksPanorama;
import com.ruoyi.vo.UserInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author a
 * @date 2023/10/12 14:20
 */
@Data
public class WorksPageResp {

    @ApiModelProperty(value = "租户号")
    private Long id;

    @ApiModelProperty(value = "删除标志;1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty(value = "作品类型ID")
    private Long worksTypeId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面图")
    private String coverImage;

    @ApiModelProperty(value = "作品图片")
    private String images;

    @ApiModelProperty(value = "价格(订单来源的作品)")
    private BigDecimal price;

    private Integer userType;

    @ApiModelProperty(value = "表现师id")
    private Long storeId;

    @ApiModelProperty(value = "来源 1 手动创建 2 订单同步")
    private Integer source;

    @ApiModelProperty(value = "来源 1 手动创建 2 订单同步")
    private Long orderId;

    @ApiModelProperty(value = "点赞数")
    private Long likeNum;

    @ApiModelProperty(value = "踩的数量")
    private Long stepNum;

    @ApiModelProperty(value = "评论数")
    private Long commentNum;

    @ApiModelProperty(value = "收藏数")
    private Long collectNum;

    @ApiModelProperty(value = "浏览数")
    private Long browseNum;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "用户信息")
    private UserInfo userInfo;

    @ApiModelProperty("是否推荐 1否 2是")
    private Integer isRecommend;

    @ApiModelProperty(value = "是否点赞 1没有 2点赞")
    private Integer isLike;

    @ApiModelProperty("是否高端;1 普通 2 高端")
    private Integer ifHighend;

    @ApiModelProperty("推荐排序")
    private Integer sort;

    @ApiModelProperty(value = "3D 全景图")
    private List<WorksPanorama> worksPanoramaList;
}
