mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-14 04:43:24 +08:00
增加定时任务管理
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.mdd.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -12,6 +14,7 @@ public class Crontab implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
private Integer id; // 主键
|
||||
private String name; // 任务名称
|
||||
private String command; // 任务命令
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.mdd.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -12,6 +14,7 @@ public class DecoratePage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
private Integer id;
|
||||
private Integer pageType;
|
||||
private String pageName;
|
||||
|
||||
Reference in New Issue
Block a user