forked from rongchao/epmet-cloud-rizhao
				
			
				 18 changed files with 252 additions and 20 deletions
			
			
		@ -0,0 +1,15 @@ | 
				
			|||||
 | 
					package com.epmet.dto.issue.form; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @author zhaoqifeng | 
				
			||||
 | 
					 * @dscription | 
				
			||||
 | 
					 * @date 2020/7/1 15:25 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class IssueJobFromDTO implements Serializable { | 
				
			||||
 | 
						private String date; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,45 @@ | 
				
			|||||
 | 
					package com.epmet.dto; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.tools.validator.group.DefaultGroup; | 
				
			||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty; | 
				
			||||
 | 
					import io.swagger.annotations.ApiModelProperty; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					import org.hibernate.validator.constraints.Range; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import javax.validation.constraints.NotBlank; | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					import java.util.Date; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description | 
				
			||||
 | 
					 * @ClassName ScheduleJobTypeDTO | 
				
			||||
 | 
					 * @Auth wangc | 
				
			||||
 | 
					 * @Date 2020-07-01 11:05 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class ScheduleJobTypeDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = 398827917988646220L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    private Long id; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @NotBlank(message = "{schedule.bean.require}", groups = DefaultGroup.class) | 
				
			||||
 | 
					    private String beanName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    private String params; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @NotBlank(message = "{schedule.cron.require}", groups = DefaultGroup.class) | 
				
			||||
 | 
					    private String cronExpression; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @Range(min=0, max=1, message = "{schedule.status.range}", groups = DefaultGroup.class) | 
				
			||||
 | 
					    private Integer status; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @ApiModelProperty(value = "备注") | 
				
			||||
 | 
					    private String remark; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @JsonProperty(access = JsonProperty.Access.READ_ONLY) | 
				
			||||
 | 
					    private Date createDate; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    private String type; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    private Integer order; | 
				
			||||
 | 
					} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue