6 changed files with 167 additions and 9 deletions
@ -0,0 +1,61 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 烟台,房屋信息界面,左侧树查询入参 |
||||
|
* @Author yzm |
||||
|
* @Date 2023/1/6 13:39 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class HouseManageTreeFormDTO implements Serializable { |
||||
|
public interface InitTreeGroup { |
||||
|
} |
||||
|
|
||||
|
// public interface AddUserShowGroup extends CustomerClientShowGroup {}
|
||||
|
public interface NodeEventGroup { |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 当前工作人员所属组织id |
||||
|
* 房屋信息界面左侧树初始化 |
||||
|
*/ |
||||
|
@NotBlank(message = "工作人员所属组织id不能为空", groups = InitTreeGroup.class) |
||||
|
private String staffAgencyId; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 组织id、网格id、小区id、楼栋id |
||||
|
*/ |
||||
|
@NotBlank(message = "id不能为空", groups = NodeEventGroup.class) |
||||
|
private String id; |
||||
|
/** |
||||
|
* 省级:province |
||||
|
* 市级: city |
||||
|
* 区县级: district, |
||||
|
* 乡(镇、街道)级:street, |
||||
|
* 社区级:community, |
||||
|
* 网格:grid |
||||
|
* 小区:neighborHood |
||||
|
* 楼栋:building |
||||
|
*/ |
||||
|
@NotBlank(message = "level不能为空", groups = NodeEventGroup.class) |
||||
|
private String level; |
||||
|
|
||||
|
|
||||
|
// ------------------------------------
|
||||
|
/** |
||||
|
* tokenDto.customerId |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空", groups = InitTreeGroup.class) |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* tokenDto.userId |
||||
|
*/ |
||||
|
@NotBlank(message = "staffId不能为空", groups = InitTreeGroup.class) |
||||
|
private String staffId; |
||||
|
} |
||||
|
|
Loading…
Reference in new issue