package com.greenorange.promotion.model.vo.courseOrder;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class CourseOrderBaseInfoVO implements Serializable {

    /**
     * 课程订单ID
     */
    @Schema(description = "课程订单ID", example = "1")
    private Long id;

    /**
     * 昵称
     */
    @Schema(description = "昵称", example = "chenxinzhi")
    private String nickName;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "15888610253")
    private String phoneNumber;

    /**
     * 订单号
     */
    @Schema(description = "订单号", example = "202506241339232334d234234243")
    private String orderNumber;

    /**
     * 订单总金额
     */
    @Schema(description = "订单总金额", example = "100.00")
    private BigDecimal totalAmount;

    /**
     * 订单状态[交易关闭,交易成功,待支付,已退款]
     */
    @Schema(description = "订单状态[交易关闭,交易成功,待支付,已退款]", example = "交易成功")
    private String orderStatus;

    /**
     * 用户id
     */
    @Schema(description = "用户id", example = "1")
    private Long userId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间", example = "2025-06-24 13:39:23")
    private Date createTime;


    @Serial
    private static final long serialVersionUID = 1L;
}
