分页值
This commit is contained in:
@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -48,7 +49,7 @@ public class SmsPushEventUser implements Serializable {
|
||||
private Integer sexWoman;
|
||||
private Integer sexUnknown;
|
||||
|
||||
/**
|
||||
/**
|
||||
* 是否会员 0否 1是 null全查
|
||||
*/
|
||||
private Integer isVip;
|
||||
@@ -62,11 +63,11 @@ public class SmsPushEventUser implements Serializable {
|
||||
* 下单时间 从未下单 1查询 其余不查
|
||||
*/
|
||||
private Integer noOrder;
|
||||
/**
|
||||
/**
|
||||
* 下单时间 下过一单 1查询 其余不查
|
||||
*/
|
||||
private Integer oneOrder;
|
||||
/**
|
||||
/**
|
||||
* 下单时间 下过五单及以上 1查询 其余不查
|
||||
*/
|
||||
private Integer fiveOrder;
|
||||
@@ -76,15 +77,15 @@ public class SmsPushEventUser implements Serializable {
|
||||
* 下单时间 今天 1查询 其余不查
|
||||
*/
|
||||
private Integer orderTimeToday;
|
||||
/**
|
||||
/**
|
||||
* 下单时间 昨天 1查询 其余不查
|
||||
*/
|
||||
private Integer orderTimeYesterday;
|
||||
/**
|
||||
/**
|
||||
* 下单时间 两周内 1查询 其余不查
|
||||
*/
|
||||
private Integer orderTimeTwoWeeks;
|
||||
/**
|
||||
/**
|
||||
* 下单时间 两周前 1查询 其余不查
|
||||
*/
|
||||
private Integer orderTimeMoreThanTwoWeeks;
|
||||
@@ -102,5 +103,16 @@ public class SmsPushEventUser implements Serializable {
|
||||
|
||||
@Column(onInsertValue = "now()")
|
||||
private LocalDateTime createTime;
|
||||
@Column(ignore = true)
|
||||
private Integer page;
|
||||
@Column(ignore = true)
|
||||
private Integer size;
|
||||
|
||||
public Integer getPage() {
|
||||
return page == null ? 1 : page;
|
||||
}
|
||||
|
||||
public Integer getSize() {
|
||||
return size == null ? 10 : size;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user