16 changed files with 235 additions and 35 deletions
			
			
		@ -0,0 +1,31 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/13 9:33 上午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class StaffSinAgencyFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1827402498483127629L; | 
				
			|||
 | 
				
			|||
    //后端自己看
 | 
				
			|||
    public interface StaffSinAgency{} | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * appId+customerId+时间戳加密secret | 
				
			|||
     */ | 
				
			|||
//    @NotBlank(message = "secret不能为空",groups = {StaffSinDept.class})
 | 
				
			|||
    private String accessToken; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 机关Id | 
				
			|||
     */ | 
				
			|||
    @NotBlank(message = "机关Id不能为空",groups = {StaffSinAgency.class}) | 
				
			|||
    private String agencyId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,20 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/17 10:37 上午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class AgencyIdFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -1719033407335647411L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 部门Id | 
				
			|||
     */ | 
				
			|||
    private String agencyId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,42 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/17 9:25 上午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class StaffSinAgencyResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -3440415906710443002L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员Id | 
				
			|||
     */ | 
				
			|||
    private String staffId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员名称 | 
				
			|||
     */ | 
				
			|||
    private String staffName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 头像 | 
				
			|||
     */ | 
				
			|||
    private String headPhoto; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 性别,1男2女0未知 | 
				
			|||
     */ | 
				
			|||
    private Integer gender; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 角色列表 | 
				
			|||
     */ | 
				
			|||
    private List<RoleResultDTO> roleList; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue