package com.yonge.cooleshow.biz.dal.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 课程学生缴费表(CourseScheduleStudentPayment)表实体类
 *
 * @author hgw
 * @since 2022-03-23 14:35:20
 */
@Data
@ApiModel(value = "course_schedule_student_payment-课程学生缴费表")
public class CourseScheduleStudentPayment implements Serializable {
    @TableId(value = "id_", type = IdType.AUTO)
    @ApiModelProperty(value = "${column.comment}")
    private Long id;

    @TableField("user_id_")
    @ApiModelProperty(value = "学生id;")
    private Long userId;

    @TableField("course_group_id_")
    @ApiModelProperty(value = "课程组id")
    private Long courseGroupId;

    @TableField("course_id_")
    @ApiModelProperty(value = "课程id")
    private Long courseId;

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

    @TableField("original_price_")
    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @TableField("expect_price_")
    @ApiModelProperty(value = "预计价格")
    private BigDecimal expectPrice;

    @TableField("actual_price_")
    @ApiModelProperty(value = "实际价格")
    private BigDecimal actualPrice;

    @TableField("created_time_")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @TableField("updated_time_")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @TableField("course_type_")
    @ApiModelProperty(value = "类型 practice趣纠课 live直播课")
    private String courseType;

    @TableField(value = "group_join_")
    @ApiModelProperty("入群标记")
    private Boolean groupJoin;


}

