com.github.rexsheng.springboot.faster.system.entity.Job Maven / Gradle / Ivy
The newest version!
package com.github.rexsheng.springboot.faster.system.entity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
/**
* 定时任务表 实体类。
*
* @author sheng
* @since 2024-06-02
*/
@Table("sys_job")
public class Job implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 任务ID
*/
@Id(keyType = KeyType.Auto)
private Long id;
/**
* 任务名称
*/
private String name;
/**
* 任务组
*/
private String group;
/**
* 备注
*/
private String remark;
/**
* 执行类
*/
private String execClazz;
/**
* 执行方法
*/
private String execMethod;
/**
* 执行参数JSON
*/
private String execParam;
/**
* 是否并发
*/
private Boolean concurrent;
/**
* 异常通知邮件
*/
private String errorMail;
/**
* 状态(0正常,1停用)
*/
private Integer status;
/**
* 是否删除(0正常,1已删除)
*/
private Boolean isDel;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 创建人
*/
private Long createUser;
/**
* 修改时间
*/
private LocalDateTime updateTime;
/**
* 修改人
*/
private Long updateUser;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getExecClazz() {
return execClazz;
}
public void setExecClazz(String execClazz) {
this.execClazz = execClazz;
}
public String getExecMethod() {
return execMethod;
}
public void setExecMethod(String execMethod) {
this.execMethod = execMethod;
}
public String getExecParam() {
return execParam;
}
public void setExecParam(String execParam) {
this.execParam = execParam;
}
public Boolean getConcurrent() {
return concurrent;
}
public void setConcurrent(Boolean concurrent) {
this.concurrent = concurrent;
}
public String getErrorMail() {
return errorMail;
}
public void setErrorMail(String errorMail) {
this.errorMail = errorMail;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Boolean getIsDel() {
return isDel;
}
public void setIsDel(Boolean isDel) {
this.isDel = isDel;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public Long getCreateUser() {
return createUser;
}
public void setCreateUser(Long createUser) {
this.createUser = createUser;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
public Long getUpdateUser() {
return updateUser;
}
public void setUpdateUser(Long updateUser) {
this.updateUser = updateUser;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy