package org.dromara.work.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.work.domain.TpCourses;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 课程视图对象 tp_courses
 *
 * @author Maosw
 * @date 2025-04-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TpCourses.class)
public class TpCoursesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 课程ID
     */
    @ExcelProperty(value = "课程ID")
    private Long id;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称")
    private String name;

    /**
     * 课程类型
     */
    @ExcelProperty(value = "课程类型")
    private Integer type;

    /**
     * 讲师ID
     */
    @ExcelProperty(value = "讲师ID")
    private Long userId;

    /**
     * 讲师姓名
     */
    @ExcelProperty(value = "讲师姓名")
    private String userName;

    /**
     * 课程费用
     */
    @ExcelProperty(value = "课程费用")
    private BigDecimal total;

    /**
     * 开课时间
     */
    @ExcelProperty(value = "开课时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 开课地点
     */
    @ExcelProperty(value = "开课地点")
    private String location;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 报名人数
     */
    private Integer bmNum;

    /**
     * 到场人数
     */
    private Integer dcNum;

    /**
     * 订单金额
     */
    private BigDecimal price;

    /**
     * 到款金额
     */
    private BigDecimal payPrice;

    /**
     * 到款比例
     */
    private String bili;


}
