|
@@ -1,11 +1,13 @@
|
|
package com.zanxiang.game.module.manage.pojo.params;
|
|
package com.zanxiang.game.module.manage.pojo.params;
|
|
|
|
|
|
-import com.zanxiang.game.module.base.base.BasePage;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.zanxiang.game.module.mybatis.entity.GameUser;
|
|
import com.zanxiang.game.module.mybatis.entity.GameUser;
|
|
|
|
+import com.zanxiang.module.web.pojo.BaseListDTO;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
|
|
|
|
@@ -17,7 +19,7 @@ import java.time.LocalDate;
|
|
@ApiModel
|
|
@ApiModel
|
|
@Data
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@EqualsAndHashCode(callSuper = true)
|
|
-public class GameUserListParam extends BasePage<GameUser> {
|
|
|
|
|
|
+public class GameUserListParam extends BaseListDTO<GameUser> {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 玩家id
|
|
* 玩家id
|
|
@@ -114,4 +116,20 @@ public class GameUserListParam extends BasePage<GameUser> {
|
|
*/
|
|
*/
|
|
@ApiModelProperty(notes = "角色vip, 全部 : null或者不传")
|
|
@ApiModelProperty(notes = "角色vip, 全部 : null或者不传")
|
|
private Integer vipLevel;
|
|
private Integer vipLevel;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 开始时间
|
|
|
|
+ */
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ @ApiModelProperty(value = "开始时间")
|
|
|
|
+ private LocalDate beginDate;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 结束时间
|
|
|
|
+ */
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
|
+ @ApiModelProperty(value = "结束时间")
|
|
|
|
+ private LocalDate endDate;
|
|
}
|
|
}
|