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

com.nxyfan.framework.task.param.SysTaskSaveParam Maven / Gradle / Ivy

package com.nxyfan.framework.task.param;

import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/** 
 *
 * Describe: 定时任务保存参数
 * Author: caoyang  
 * Create Time: 2022年12月5日 下午4:47:23 
 * Copyright @ 2022 51LIFE  
 */
@Getter
@Setter
public class SysTaskSaveParam {

    @ApiModelProperty(value = "任务主键,该值为空,则新增,反之则修改", position = 1)
    private String taskFlow;

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

    @ApiModelProperty(value = "任务名称", required = true, position = 3)
    @NotBlank(message = "任务名称不能为空")
    private String taskName;
    
    @ApiModelProperty(value = "任务类型,FRM:框架;BIZ:业务;", required = true, position = 4)
    @NotBlank(message = "任务类型不能为空")
    private String taskType;
    
    @ApiModelProperty(value = "任务类名", required = true, position = 5)
    @NotBlank(message = "任务类名不能为空")
    private String className;
    
    @ApiModelProperty(value = "任务方法名", position = 6)
    private String methodName;
    
    @ApiModelProperty(value = "cron表达式", required = true, position = 7)
    @NotBlank(message = "cron表达式不能为空")
    private String cronExpression;
    
    @ApiModelProperty(value = "描述", position = 8)
    private String description;
    
    @ApiModelProperty(value = "创建时间,格式: yyyy-MM-dd HH:mm:ss", position = 1000)
    private String createDateTime;

    @ApiModelProperty(value = "创建人主键", position = 1001)
    private String createUserFlow;

    @ApiModelProperty(value = "更新时间,格式: yyyy-MM-dd HH:mm:ss", position = 1002)
    private String updateDateTime;

    @ApiModelProperty(value = "更新人主键", position = 1003)
    private String updateUserFlow;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy