34 lines
611 B
Java
34 lines
611 B
Java
package com.peanut.modules.common.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@TableName("user_to_course")
|
|
public class UserToCourseEntity {
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
private Integer userId;
|
|
|
|
private Integer courseId;
|
|
|
|
private Integer catalogueId;
|
|
|
|
private Date createTime;
|
|
|
|
private Integer days;
|
|
|
|
private Date startTime;
|
|
|
|
private Date endTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
}
|