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

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.time.LocalDate;

/**
 * 课程推广待提成记录 视图对象
 */
@Data
@Schema(description = "课程推广待提成记录 视图对象")
public class CoursePromotionCommissionPendingVO implements Serializable {

    /**
     * 课程推广待提成记录ID
     */
    @Schema(description = "课程推广待提成记录ID", example = "1")
    private Long id;

    /**
     * 一级用户
     */
    @Schema(description = "一级用户", example = "1")
    private Long firstUserId;

    /**
     * 二级用户
     */
    @Schema(description = "二级用户", example = "2")
    private Long secondUserId;

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

    /**
     * 课程名称
     */
    @Schema(description = "课程名称", example = "财务管理")
    private String name;

    /**
     * 课程类别
     */
    @Schema(description = "课程类别", example = "财经")
    private String type;

    /**
     * 课程图片
     */
    @Schema(description = "课程图片", example = "3DIKE323")
    private String image;

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

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

    /**
     * 订单价格
     */
    @Schema(description = "订单价格", example = "50.00")
    private BigDecimal totalAmount;

    /**
     * 提成状态
     */
    @Schema(description = "提成状态", example = "待提成")
    private String commissionStatus;

    /**
     * 订单创建时间
     */
    @Schema(description = "订单创建时间", example = "2025-07-01 12:00:00")
    private LocalDate orderCreateTime;


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