forked from rongchao/epmet-cloud-rizhao
				
			
				 9 changed files with 262 additions and 9 deletions
			
			
		@ -0,0 +1,49 @@ | 
				
			|||||
 | 
					package com.epmet.dto.form; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; | 
				
			||||
 | 
					import com.fasterxml.jackson.annotation.JsonFormat; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					import org.springframework.format.annotation.DateTimeFormat; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import javax.validation.constraints.NotBlank; | 
				
			||||
 | 
					import javax.validation.constraints.NotNull; | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					import java.util.Date; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 【服务项目记录】修改 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class IcServiceEditFormDTO implements Serializable { | 
				
			||||
 | 
					    public interface AddUserInternalGroup { | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    public interface AddUserShowGroup extends CustomerClientShowGroup { | 
				
			||||
 | 
					    } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    @NotBlank(message = "", groups = AddUserInternalGroup.class) | 
				
			||||
 | 
					    private String serviceRecordId; | 
				
			||||
 | 
					    private String principalName; | 
				
			||||
 | 
					    private String principalContact; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务时间 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    @NotNull(message = "起始服务时间不能为空", groups = AddUserShowGroup.class) | 
				
			||||
 | 
					    @DateTimeFormat(pattern = "yyyy-MM-dd") | 
				
			||||
 | 
					    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			||||
 | 
					    private Date serviceTimeStart; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务截止时间 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    @NotNull(message = "截止服务时间不能为空", groups = AddUserShowGroup.class) | 
				
			||||
 | 
					    @DateTimeFormat(pattern = "yyyy-MM-dd") | 
				
			||||
 | 
					    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			||||
 | 
					    private Date serviceTimeEnd; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 备注 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String remark; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,81 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.fasterxml.jackson.annotation.JsonFormat; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					import java.util.Date; | 
				
			||||
 | 
					import java.util.List; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class IcServiceRecDetailRes implements Serializable { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 联系方式 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String principalContact; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 经办人姓名 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String principalName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 备注 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String remark; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务类别ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceCategoryKey; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务类别ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceCategoryName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务组织ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceOrgId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务组织名称 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceOrgName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务项目ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceProjectId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务项目名称 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceProjectName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务时间 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			||||
 | 
					    private Date serviceTimeStart; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务截止时间 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
				
			||||
 | 
					    private Date serviceTimeEnd; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * in_service服务中;completed:已完成 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String serviceStatus; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 发布范围 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private List<IcServiceScopeDTO> serviceScope; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,15 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class IcServiceScopeDTO { | 
				
			||||
 | 
					    private String objectId; | 
				
			||||
 | 
					    private String objectName; | 
				
			||||
 | 
					    private String objectType; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 发布范围的组织ID PATH | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String objectIdPath; | 
				
			||||
 | 
					} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue