架构性调整【懒得区分了,哈哈哈哈】,主要是跑通了第一个功能测试
This commit is contained in:
@@ -6,9 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.Null;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 存储学习任务的基本信息,包括优先级的多维度计算
|
||||
@@ -17,11 +16,15 @@ import lombok.Data;
|
||||
@TableName(value ="tasks")
|
||||
@Data
|
||||
public class TaskEntity extends BaseEntity implements Serializable {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private int id;
|
||||
|
||||
/**
|
||||
*
|
||||
* 任务编码
|
||||
*/
|
||||
@TableId(value = "task_id", type = IdType.AUTO)
|
||||
private Integer taskId;
|
||||
@TableField(value = "task_num")
|
||||
private String taskNum;
|
||||
|
||||
/**
|
||||
* 学习任务的名称
|
||||
|
||||
Reference in New Issue
Block a user