package com.xiaoniu.system.order.storeorder.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @Author haoxuyang
 * @Date 2024/10/16 9:15
 */
@Data
@Schema(description = "会员开通订单列表响应参数VO")
public class MemberOrderListVO {

    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "手机号")
    private String phoneNumber;

    @Schema(description = "会员名称")
    private String memberName;

    @Schema(description = "会员权益（多个逗号分隔）")
    private String memberType;

    @Schema(description = "会员有效天数")
    private Integer memberEffectiveDays;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "支付时间")
    private Date payTime;

    @Schema(description = "支付金额")
    private BigDecimal paymentAmount;

    @Schema(description = "会员折扣")
    private Double memberDiscount;
}
