package com.matrix.system.app.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.core.tools.DateUtil;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author jyy
|
* @date 2020-12-23
|
**/
|
@ApiModel(value = "FollowupCommonetListDto", description = "跟进记录查询参数")
|
public class FollowupCommonetListDto {
|
|
@NotNull(message = "参数错误")
|
@ApiModelProperty(value = "查询条数", example = "10")
|
private Integer limit = 10;
|
|
@NotNull(message = "查询起点")
|
@ApiModelProperty(value = "第0条开始", example = "0")
|
private Integer offset = 0;
|
|
@ApiModelProperty(value = "门店ID 后台自动赋值", example = "0")
|
private Long shopId;
|
|
@ApiModelProperty(value = "公司ID 后台自动赋值", example = "0")
|
private Long companyId;
|
|
@ApiModelProperty(value = "当前员工ID 后台自动赋值", example = "0")
|
private Long selfStaff;
|
|
@JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8")
|
@ApiModelProperty(value = "查询参数开始时间", example = "2021-01-10")
|
private Date startTime;
|
|
|
@JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8")
|
@ApiModelProperty(value = "查询参数结束时间", example = "2021-01-10")
|
private Date endTime;
|
|
|
@ApiModelProperty(value = "查询参数员工ID数组", example = "[1,2]")
|
private List<Long> staffIds;
|
|
@ApiModelProperty(value = "查询参数客户ID数组", example = "[1,2]")
|
private List<Long> vipIds;
|
|
@ApiModelProperty(value = "查询参数,查询跟进类型,1=全部,2=我发出的,3=我的团队", example = "1")
|
private Integer queryType=1;
|
|
public Integer getQueryType() {
|
return queryType;
|
}
|
|
public void setQueryType(Integer queryType) {
|
this.queryType = queryType;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public Long getSelfStaff() {
|
return selfStaff;
|
}
|
|
public void setSelfStaff(Long selfStaff) {
|
this.selfStaff = selfStaff;
|
}
|
|
public List<Long> getStaffIds() {
|
return staffIds;
|
}
|
|
public void setStaffIds(List<Long> staffIds) {
|
this.staffIds = staffIds;
|
}
|
|
public List<Long> getVipIds() {
|
return vipIds;
|
}
|
|
public void setVipIds(List<Long> vipIds) {
|
this.vipIds = vipIds;
|
}
|
|
public Integer getLimit() {
|
return limit;
|
}
|
|
public void setLimit(Integer limit) {
|
this.limit = limit;
|
}
|
|
public Integer getOffset() {
|
return offset;
|
}
|
|
public void setOffset(Integer offset) {
|
this.offset = offset;
|
}
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
}
|