| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- package com.ym.mec.education.entity;
- import com.baomidou.mybatisplus.enums.IdType;
- import java.math.BigDecimal;
- import java.util.Date;
- import com.baomidou.mybatisplus.annotations.TableId;
- import com.baomidou.mybatisplus.annotations.TableField;
- import com.baomidou.mybatisplus.activerecord.Model;
- import com.baomidou.mybatisplus.annotations.TableName;
- import java.io.Serializable;
- /**
- * <p>
- * 班级与老师课酬表
- * </p>
- *
- * @author lemeng
- * @since 2019-09-25
- */
- @TableName("class_group_teacher_salary")
- public class ClassGroupTeacherSalary extends Model<ClassGroupTeacherSalary> {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id_", type = IdType.AUTO)
- private Long id;
- @TableField("music_group_id_")
- private Integer musicGroupId;
- @TableField("class_group_id_")
- private Integer classGroupId;
- /**
- * 老师角色(主教、助教)
- */
- @TableField("teacher_role_")
- private String teacherRole;
- @TableField("user_id_")
- private Integer userId;
- /**
- * 课时长(分钟)
- */
- @TableField("duration_")
- private Integer duration;
- /**
- * 薪酬
- */
- @TableField("salary_")
- private BigDecimal salary;
- @TableField("create_time_")
- private Date createTime;
- @TableField("update_time_")
- private Date updateTime;
- public Long getId() {
- return id;
- }
- public ClassGroupTeacherSalary setId(Long id) {
- this.id = id;
- return this;
- }
- public Integer getMusicGroupId() {
- return musicGroupId;
- }
- public ClassGroupTeacherSalary setMusicGroupId(Integer musicGroupId) {
- this.musicGroupId = musicGroupId;
- return this;
- }
- public Integer getClassGroupId() {
- return classGroupId;
- }
- public ClassGroupTeacherSalary setClassGroupId(Integer classGroupId) {
- this.classGroupId = classGroupId;
- return this;
- }
- public String getTeacherRole() {
- return teacherRole;
- }
- public ClassGroupTeacherSalary setTeacherRole(String teacherRole) {
- this.teacherRole = teacherRole;
- return this;
- }
- public Integer getUserId() {
- return userId;
- }
- public ClassGroupTeacherSalary setUserId(Integer userId) {
- this.userId = userId;
- return this;
- }
- public Integer getDuration() {
- return duration;
- }
- public ClassGroupTeacherSalary setDuration(Integer duration) {
- this.duration = duration;
- return this;
- }
- public BigDecimal getSalary() {
- return salary;
- }
- public ClassGroupTeacherSalary setSalary(BigDecimal salary) {
- this.salary = salary;
- return this;
- }
- public Date getCreateTime() {
- return createTime;
- }
- public ClassGroupTeacherSalary setCreateTime(Date createTime) {
- this.createTime = createTime;
- return this;
- }
- public Date getUpdateTime() {
- return updateTime;
- }
- public ClassGroupTeacherSalary setUpdateTime(Date updateTime) {
- this.updateTime = updateTime;
- return this;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "ClassGroupTeacherSalary{" +
- ", id=" + id +
- ", musicGroupId=" + musicGroupId +
- ", classGroupId=" + classGroupId +
- ", teacherRole=" + teacherRole +
- ", userId=" + userId +
- ", duration=" + duration +
- ", salary=" + salary +
- ", createTime=" + createTime +
- ", updateTime=" + updateTime +
- "}";
- }
- }
|