package com.starry.admin.modules.order.module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 打赏订单查询返回信息
 *
 * @author admin
 */
@Data
@ApiModel(value = "打赏订单返回数据", description = "打赏订单信息的返回数据")
public class PlayOrderRewardReturnVo {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", example = "1")
    private String id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "顾客ID", example = "1")
    private String customId;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "顾客昵称", example = "张三")
    private String customNickname;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "顾客头像", example = "https://example.com/avatar.jpg")
    private String customAvatar;

    /**
     * 店员ID
     */
    @ApiModelProperty(value = "店员ID", example = "1")
    private String clerkId;

    /**
     * 店员昵称
     */
    @ApiModelProperty(value = "店员昵称", example = "小明")
    private String clerkNickname;

    /**
     * 店员头像
     */
    @ApiModelProperty(value = "店员头像", example = "https://example.com/clerk_avatar.jpg")
    private String clerkAvatar;

    /**
     * 打赏类型
     */
    @ApiModelProperty(value = "打赏类型", example = "0", notes = "0:打赏礼物,1:自定义金额")
    private String rewardType;

    /**
     * 订单金额
     */
    @ApiModelProperty(value = "订单金额", example = "100.00")
    private String orderMoney;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额", example = "100.00")
    private String finalAmount;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID", example = "1")
    private String commodityId;

    /**
     * 商品类型[0:礼物，1：服务]
     */
    @ApiModelProperty(value = "商品类型", example = "0", notes = "0:礼物，1：服务")
    private String commodityType;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称", example = "爱心礼物")
    private String commodityName;
    /**
     * 商品单价
     */
    @ApiModelProperty(value = "商品单价", example = "50.00")
    private BigDecimal commodityPrice;

    /**
     * 服务时长
     *
     * @since 2024/5/8 16:44
     **/
    @ApiModelProperty(value = "服务时长", example = "30", notes = "服务的时长，单位分钟")
    private String serviceDuration;

    /**
     * 打赏留言
     */
    @ApiModelProperty(value = "打赏留言", example = "感谢服务")
    private String remark;

    /**
     * 打赏时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "打赏时间", example = "2024-01-01 12:00:00")
    private LocalDateTime purchaserTime;

}
