All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rexsheng.springboot.faster.system.entity.JobTrigger 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_trigger")
public class JobTrigger implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 任务ID
     */
    private Long jobId;

    /**
     * 触发器名称
     */
    private String name;

    /**
     * 触发器组
     */
    private String group;

    /**
     * 执行方式,定时,循环
     */
    private Integer execType;

    /**
     * 执行方式表达式
     */
    private String execExpression;

    /**
     * 开始执行时间
     */
    private LocalDateTime execStart;

    /**
     * 结束执行时间
     */
    private LocalDateTime execEnd;

    /**
     * 未正常调度任务的执行策略
     */
    private Integer misfireStrategy;

    /**
     * 优先级
     */
    private Integer priority;

    /**
     * 状态(0正常,1停用,2暂停)
     */
    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 Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    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 Integer getExecType() {
        return execType;
    }

    public void setExecType(Integer execType) {
        this.execType = execType;
    }

    public String getExecExpression() {
        return execExpression;
    }

    public void setExecExpression(String execExpression) {
        this.execExpression = execExpression;
    }

    public LocalDateTime getExecStart() {
        return execStart;
    }

    public void setExecStart(LocalDateTime execStart) {
        this.execStart = execStart;
    }

    public LocalDateTime getExecEnd() {
        return execEnd;
    }

    public void setExecEnd(LocalDateTime execEnd) {
        this.execEnd = execEnd;
    }

    public Integer getMisfireStrategy() {
        return misfireStrategy;
    }

    public void setMisfireStrategy(Integer misfireStrategy) {
        this.misfireStrategy = misfireStrategy;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    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