package cn.stylefeng.guns.modular.zsx.bs.job.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** *

* 定时任务调度表 *

* * @author zrm * @since 2023-08-17 */ @TableName("sys_job") public class SysJob implements Serializable { private static final long serialVersionUID=1L; /** * 任务ID */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 任务名称 */ @TableField("job_name") private String jobName; /** * 任务组名 */ @TableField("job_group") private String jobGroup; /** * 调用目标字符串 */ @TableField("invoke_target") private String invokeTarget; /** * cron执行表达式 */ @TableField("cron_expression") private String cronExpression; /** * 计划执行错误策略(1立即执行 2执行一次 3放弃执行) */ @TableField("misfire_policy") private String misfirePolicy; /** * 是否并发执行(0允许 1禁止) */ @TableField("concurrent") private String concurrent; /** * 状态(0正常 1暂停) */ @TableField("status") private String status; /** * 创建者 */ @TableField("create_by") private String createBy; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 更新者 */ @TableField("update_by") private String updateBy; /** * 更新时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 备注信息 */ @TableField("remark") private String remark; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getJobName() { return jobName; } public void setJobName(String jobName) { this.jobName = jobName; } public String getJobGroup() { return jobGroup; } public void setJobGroup(String jobGroup) { this.jobGroup = jobGroup; } public String getInvokeTarget() { return invokeTarget; } public void setInvokeTarget(String invokeTarget) { this.invokeTarget = invokeTarget; } public String getCronExpression() { return cronExpression; } public void setCronExpression(String cronExpression) { this.cronExpression = cronExpression; } public String getMisfirePolicy() { return misfirePolicy; } public void setMisfirePolicy(String misfirePolicy) { this.misfirePolicy = misfirePolicy; } public String getConcurrent() { return concurrent; } public void setConcurrent(String concurrent) { this.concurrent = concurrent; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getCreateBy() { return createBy; } public void setCreateBy(String createBy) { this.createBy = createBy; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getUpdateBy() { return updateBy; } public void setUpdateBy(String updateBy) { this.updateBy = updateBy; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } @Override public String toString() { return "SysJob{" + "id=" + id + ", jobName=" + jobName + ", jobGroup=" + jobGroup + ", invokeTarget=" + invokeTarget + ", cronExpression=" + cronExpression + ", misfirePolicy=" + misfirePolicy + ", concurrent=" + concurrent + ", status=" + status + ", createBy=" + createBy + ", createTime=" + createTime + ", updateBy=" + updateBy + ", updateTime=" + updateTime + ", remark=" + remark + "}"; } }