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

com.github.rexsheng.springboot.faster.system.entity.table.JobTriggerTableDef Maven / Gradle / Ivy

The newest version!
package com.github.rexsheng.springboot.faster.system.entity.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class JobTriggerTableDef extends TableDef {

    /**
     * 定时任务调度配置表 实体类。

 @author sheng
 @since 2024-06-02
     */
    public static final JobTriggerTableDef JOB_TRIGGER = new JobTriggerTableDef();

    /**
     * ID
     */
    public final QueryColumn ID = new QueryColumn(this, "id");

    /**
     * 触发器名称
     */
    public final QueryColumn NAME = new QueryColumn(this, "name");

    /**
     * 触发器组
     */
    public final QueryColumn GROUP = new QueryColumn(this, "group");

    /**
     * 是否删除(0正常,1已删除)
     */
    public final QueryColumn IS_DEL = new QueryColumn(this, "is_del");

    /**
     * 任务ID
     */
    public final QueryColumn JOB_ID = new QueryColumn(this, "job_id");

    /**
     * 状态(0正常,1停用,2暂停)
     */
    public final QueryColumn STATUS = new QueryColumn(this, "status");

    /**
     * 结束执行时间
     */
    public final QueryColumn EXEC_END = new QueryColumn(this, "exec_end");

    /**
     * 执行方式,定时,循环
     */
    public final QueryColumn EXEC_TYPE = new QueryColumn(this, "exec_type");

    /**
     * 优先级
     */
    public final QueryColumn PRIORITY = new QueryColumn(this, "priority");

    /**
     * 开始执行时间
     */
    public final QueryColumn EXEC_START = new QueryColumn(this, "exec_start");

    /**
     * 创建时间
     */
    public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");

    /**
     * 创建人
     */
    public final QueryColumn CREATE_USER = new QueryColumn(this, "create_user");

    /**
     * 修改时间
     */
    public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");

    /**
     * 修改人
     */
    public final QueryColumn UPDATE_USER = new QueryColumn(this, "update_user");

    /**
     * 执行方式表达式
     */
    public final QueryColumn EXEC_EXPRESSION = new QueryColumn(this, "exec_expression");

    /**
     * 未正常调度任务的执行策略
     */
    public final QueryColumn MISFIRE_STRATEGY = new QueryColumn(this, "misfire_strategy");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段,不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, GROUP, IS_DEL, JOB_ID, STATUS, EXEC_END, EXEC_TYPE, PRIORITY, EXEC_START, CREATE_TIME, CREATE_USER, UPDATE_TIME, UPDATE_USER, EXEC_EXPRESSION, MISFIRE_STRATEGY};

    public JobTriggerTableDef() {
        super("", "sys_job_trigger");
    }

    private JobTriggerTableDef(String schema, String name, String alisa) {
        super(schema, name, alisa);
    }

    public JobTriggerTableDef as(String alias) {
        String key = getNameWithSchema() + "." + alias;
        return getCache(key, k -> new JobTriggerTableDef("", "sys_job_trigger", alias));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy