| 123456789101112131415161718192021222324252627282930313233343536373839 |
- package easydo.technology.system.dto;
- import easydo.technology.annotation.Query;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.util.Date;
- import java.util.HashSet;
- import java.util.List;
- import java.util.Set;
- /**
- * @author jinjin
- * @date 2020-09-25
- */
- @Data
- // @DataPermission(fieldName = "dept_id")
- public class UserQueryParam{
- /** 精确 */
- @Query
- private Long userId;
- private Long deptId;
- @Query(propName = "dept_id", type = Query.Type.IN)
- private Set<Long> deptIds = new HashSet<>();
- @Query(blurry = "email,username,nickName")
- private String blurry;
- /** 精确 */
- @Query
- private Long enabled;
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- @Query(type = Query.Type.BETWEEN)
- private List<Date> createTime;
- }
|