Affiliate功能-数据库表设计更新
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@@ -8,6 +9,23 @@ import lombok.EqualsAndHashCode;
|
||||
@Data
|
||||
@ApiModel("查询affiliate列表")
|
||||
public class AffiliateQueryDTO extends TimeQueryBaseDTO{
|
||||
|
||||
@ApiModelProperty("Active(活跃) || Inactive(过期) || Pending(待审批) || Refused(拒绝)")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("推广者id")
|
||||
private Long affiliateId;
|
||||
|
||||
@ApiModelProperty("按时间 DESC 降序 || ASC 升序")
|
||||
private String order = "ASC";
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AffiliateQueryDTO{" +
|
||||
"status='" + status + '\'' + ' ' +
|
||||
"startTime='" + super.getStartTime() + '\'' + ' ' +
|
||||
"endTime='" + super.getEndTime() + '\'' + ' ' +
|
||||
"page='" + super.getPage() + '\'' + ' ' +
|
||||
"size='" + super.getSize() + '\'' + ' ' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,4 +59,7 @@ public class AccountLoginVO {
|
||||
// 是否自动续订
|
||||
private boolean isAutoRenewal;
|
||||
|
||||
// 是否是affiliate
|
||||
private boolean isAffiliate = false;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user