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;

/**
 * @Author: cy
 * @Date: 2022/4/15
 */
@Data
@ApiModel(value = "teacher_subject_price-老师声部价格")
public class TeacherSubjectPrice implements Serializable {
    @TableId(value = "id_", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField("teacher_id_")
    @ApiModelProperty(value = "老师id")
    private Long teacherId;

    @TableField("course_type_")
    @ApiModelProperty(value = "课程类型")
    private String courseType;

    @TableField("free_minutes_")
    @ApiModelProperty(value = "课间休息时长(分钟)")
    private Integer freeMinutes;

    @TableField("course_minutes_")
    @ApiModelProperty(value = "单课时长(分钟)")
    private Integer courseMinutes;

    @TableField("subject_id_")
    @ApiModelProperty(value = "声部id")
    private Long subjectId;

    @TableField("subject_name_")
    @ApiModelProperty(value = "声部名称")
    private String subjectName;

    @TableField("subject_price_")
    @ApiModelProperty(value = "声部价格")
    private BigDecimal subjectPrice;

    @TableField("create_time_")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField("update_time_")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}

