forked from rongchao/epmet-cloud-rizhao
				
			
				 6 changed files with 211 additions and 2 deletions
			
			
		@ -0,0 +1,56 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.validator.group.AddGroup; | 
				
			|||
import com.epmet.commons.tools.validator.group.DefaultGroup; | 
				
			|||
import lombok.Data; | 
				
			|||
import lombok.NoArgsConstructor; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @author zhaoqifeng | 
				
			|||
 * @dscription | 
				
			|||
 * @date 2020/11/18 15:00 | 
				
			|||
 */ | 
				
			|||
@NoArgsConstructor | 
				
			|||
@Data | 
				
			|||
public class ParameterFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 6943367994919967821L; | 
				
			|||
	/** | 
				
			|||
	 * 客户ID | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "客户ID不能为空", groups = DefaultGroup.class) | 
				
			|||
	private String customerId; | 
				
			|||
	/** | 
				
			|||
	 * 可滞留天数 | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "可滞留天数不能为空", groups = AddGroup.class) | 
				
			|||
	private String detentionDays; | 
				
			|||
	/** | 
				
			|||
	 * 计算方式 工作日work  日历天calendar | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "计算方式 不能为空", groups = AddGroup.class) | 
				
			|||
	private String calculation; | 
				
			|||
	/** | 
				
			|||
	 * 即将超期提醒时间 | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "即将超期提醒时间不能为空", groups = AddGroup.class) | 
				
			|||
	private String remindTime; | 
				
			|||
	/** | 
				
			|||
	 * 推送时间 默认 上午8点 | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "推送时间不能为空", groups = AddGroup.class) | 
				
			|||
	private String pushTime; | 
				
			|||
	/** | 
				
			|||
	 * 设定核算单位天开始时间 | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "设定核算单位天开始时间不能为空", groups = AddGroup.class) | 
				
			|||
	private String startTime; | 
				
			|||
	/** | 
				
			|||
	 * 设定核算单位天结束时间 | 
				
			|||
	 */ | 
				
			|||
	@NotBlank(message = "设定核算单位天结束时间不能为空", groups = AddGroup.class) | 
				
			|||
	private String endTime; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,39 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @author zhaoqifeng | 
				
			|||
 * @dscription | 
				
			|||
 * @date 2020/11/18 15:19 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class ParameterResultDTO implements Serializable { | 
				
			|||
	private static final long serialVersionUID = -2066374948905858262L; | 
				
			|||
	/** | 
				
			|||
	 * 可滞留天数 | 
				
			|||
	 */ | 
				
			|||
	private String detentionDays; | 
				
			|||
	/** | 
				
			|||
	 * 计算方式 工作日work  日历天calendar | 
				
			|||
	 */ | 
				
			|||
	private String calculation; | 
				
			|||
	/** | 
				
			|||
	 * 即将超期提醒时间 | 
				
			|||
	 */ | 
				
			|||
	private String remindTime; | 
				
			|||
	/** | 
				
			|||
	 * 推送时间 默认 上午8点 | 
				
			|||
	 */ | 
				
			|||
	private String pushTime; | 
				
			|||
	/** | 
				
			|||
	 * 设定核算单位天开始时间 | 
				
			|||
	 */ | 
				
			|||
	private String startTime; | 
				
			|||
	/** | 
				
			|||
	 * 设定核算单位天结束时间 | 
				
			|||
	 */ | 
				
			|||
	private String endTime; | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue