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

com.nxyfan.framework.task.entity.SysTask Maven / Gradle / Ivy

package com.nxyfan.framework.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nxyfan.framework.common.pojo.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/** 
 *
 * Describe: 定时任务实体类
 * Author: caoyang  
 * Create Time: 2022年12月5日 下午3:03:57 
 * Copyright @ 2022 51LIFE  
 */
@SuppressWarnings("serial")
@Getter
@Setter
@TableName("SYS_TASK")
public class SysTask extends CommonEntity {

	/** id */
    @ApiModelProperty(value = "任务主键", position = 1)
    @TableId(value = "TASK_FLOW", type = IdType.ASSIGN_ID)
    private String taskFlow;

    /** 编码 */
    @ApiModelProperty(value = "任务编码", position = 2)
    private String taskCode;

    /** 名称 */
    @ApiModelProperty(value = "任务名称", position = 3)
    private String taskName;
    
    /** 任务类型 */
    @ApiModelProperty(value = "任务类型,FRM:框架;BIZ:业务;", position = 4)
    private String taskType;
    
    /** 任务类名 */
    @ApiModelProperty(value = "任务类名", position = 5)
    private String className;
    
    /** 任务方法名 */
    @ApiModelProperty(value = "任务方法名", position = 6)
    private String methodName;
    
    /** cron表达式 */
    @ApiModelProperty(value = "cron表达式", position = 7)
    private String cronExpression;
    
    /** 描述 */
    @ApiModelProperty(value = "描述", position = 8)
    private String description;
    
    /** 任务状态 */
    @ApiModelProperty(value = "任务状态,RUNNING:运行;STOPPED:停止", position = 9)
    private String state;
    
    /** 任务状态 */
    @ApiModelProperty(value = "启用标识,Y:启用;N:停用", position = 10)
    private String useMark;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy