|  | @ -1,17 +1,14 @@
 | 
	
		
			
				|  |  | package com.yihu.wlyy.entity.job;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import javax.persistence.Column;
 | 
	
		
			
				|  |  | import javax.persistence.Entity;
 | 
	
		
			
				|  |  | import javax.persistence.GeneratedValue;
 | 
	
		
			
				|  |  | import javax.persistence.Id;
 | 
	
		
			
				|  |  | import javax.persistence.Table;
 | 
	
		
			
				|  |  | import org.hibernate.annotations.GenericGenerator;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import javax.persistence.*;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | /**
 | 
	
		
			
				|  |  |  * 计划任务
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  | @Entity
 | 
	
		
			
				|  |  | @Table(name = "wlyy_job_config")
 | 
	
		
			
				|  |  | @Table(name = "wlyy_job_config_cwd")
 | 
	
		
			
				|  |  | public class QuartzJobConfig implements java.io.Serializable {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	private String id;
 | 
	
	
		
			
				|  | @ -23,6 +20,11 @@ public class QuartzJobConfig implements java.io.Serializable {
 | 
	
		
			
				|  |  | 	private String quartzCron;//quartz表达式
 | 
	
		
			
				|  |  | 	private String status;//1 启动 0停止
 | 
	
		
			
				|  |  | 	private String del;//是否删除 1正常 0删除
 | 
	
		
			
				|  |  | 	private String sql;
 | 
	
		
			
				|  |  | 	private String sqlCount;
 | 
	
		
			
				|  |  | 	private String sqlDay;
 | 
	
		
			
				|  |  | 	private String sqlYear;
 | 
	
		
			
				|  |  | 	private String cacheKey;//缓存的key
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	/** minimal constructor */
 | 
	
		
			
				|  |  | 	public QuartzJobConfig() {
 | 
	
	
		
			
				|  | @ -31,7 +33,7 @@ public class QuartzJobConfig implements java.io.Serializable {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	/** full constructor */
 | 
	
		
			
				|  |  | 	public QuartzJobConfig(String jobName, String jobInfo, String jobType,
 | 
	
		
			
				|  |  | 						   String jobClass, String quartzCron, String status) {
 | 
	
		
			
				|  |  |                            String jobClass, String quartzCron, String status) {
 | 
	
		
			
				|  |  | 		this.jobName = jobName;
 | 
	
		
			
				|  |  | 		this.jobInfo = jobInfo;
 | 
	
		
			
				|  |  | 		this.jobType = jobType;
 | 
	
	
		
			
				|  | @ -124,4 +126,45 @@ public class QuartzJobConfig implements java.io.Serializable {
 | 
	
		
			
				|  |  | 	public void setDel(String del) {
 | 
	
		
			
				|  |  | 		this.del = del;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public String getSql() {
 | 
	
		
			
				|  |  | 		return sql;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public void setSql(String sql) {
 | 
	
		
			
				|  |  | 		this.sql = sql;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public String getSqlCount() {
 | 
	
		
			
				|  |  | 		return sqlCount;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public void setSqlCount(String sqlCount) {
 | 
	
		
			
				|  |  | 		this.sqlCount = sqlCount;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public String getSqlDay() {
 | 
	
		
			
				|  |  | 		return sqlDay;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public void setSqlDay(String sqlDay) {
 | 
	
		
			
				|  |  | 		this.sqlDay = sqlDay;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public String getSqlYear() {
 | 
	
		
			
				|  |  | 		return sqlYear;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public void setSqlYear(String sqlYear) {
 | 
	
		
			
				|  |  | 		this.sqlYear = sqlYear;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public String getCacheKey() {
 | 
	
		
			
				|  |  | 		return cacheKey;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	public void setCacheKey(String cacheKey) {
 | 
	
		
			
				|  |  | 		this.cacheKey = cacheKey;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | }
 |