package com.ruoyi.controller.resp;

import com.ruoyi.frequency.enterprise.entity.Enterprise;
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 WorksDetailResp {

    @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 = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "订单时间")
    private Date orderCreateTime;


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

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

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

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

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

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

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

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

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

    @ApiModelProperty(value = "是否收藏 1没有 2收藏")
    private Integer isCollect;

    @ApiModelProperty(value = "是否是自己 1不是 2是")
    private Integer isSelf;

    @ApiModelProperty(value = "是否是设计师自己的 1不是 2是")
    private Integer isCustomerSelf;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty("是否是高端客户 1普通 2 高端 3酷家乐")
    private Integer ifHighend;

    @ApiModelProperty("企业信息")
    private Enterprise enterprise;

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

    @ApiModelProperty(value = "订单同步 改图明细")
    private List<OrderWorksPricePage> OrderWorksPriceList;
}
