3 changed files with 108 additions and 8 deletions
Split View
Diff Options
-
15dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/revenuereward/user/RevenueRewardUserQueryController.java
-
34dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/revenuereward/user/request/UserListMatchmakerRevenueRewardRecordQueryParams.java
-
67dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/revenuereward/user/response/UserPageMatchmakerRevenueRewardRecordVo.java
@ -0,0 +1,34 @@ |
|||
package com.qniao.dam.api.query.revenuereward.user.request; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
public class UserListMatchmakerRevenueRewardRecordQueryParams { |
|||
|
|||
@ApiModelProperty("查询组织标识") |
|||
private Long queryOrgId; |
|||
|
|||
@ApiModelProperty("红娘标识") |
|||
private Long matchmakerId; |
|||
|
|||
@ApiModelProperty("所属门店") |
|||
private Long storeId; |
|||
|
|||
@ApiModelProperty("收益开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime revenueTimeFrom; |
|||
|
|||
@ApiModelProperty("收益结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime revenueTimeTo; |
|||
|
|||
@ApiModelProperty("服务用户信息 昵称、手机号") |
|||
private String serviceUserInfo; |
|||
|
|||
@ApiModelProperty("业务类型") |
|||
private Integer tradeType; |
|||
} |
|||
@ -0,0 +1,67 @@ |
|||
package com.qniao.dam.api.query.revenuereward.user.response; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
|||
import com.qniao.dam.domian.aggregate.product.constant.ProductSubCategoryEnum; |
|||
import com.qniao.dam.domian.aggregate.walletaccount.constant.TradeTypeEnum; |
|||
import com.qniao.dau.domian.aggregate.matchmaker.constant.MatchmakerLevelEnum; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
public class UserPageMatchmakerRevenueRewardRecordVo { |
|||
|
|||
@ApiModelProperty("收益者名称") |
|||
private String revenueOwnerName; |
|||
|
|||
@ApiModelProperty("红娘用户ID") |
|||
@JsonSerialize(using = ToStringSerializer.class) |
|||
private Long matchmakerUserId; |
|||
|
|||
@ApiModelProperty("所属门店") |
|||
private String storeName; |
|||
|
|||
@ApiModelProperty("红娘身份类型") |
|||
private ProductSubCategoryEnum matchmakerType; |
|||
|
|||
@ApiModelProperty("红娘等级") |
|||
private MatchmakerLevelEnum matchmakerLevel; |
|||
|
|||
@ApiModelProperty("交易类型") |
|||
private TradeTypeEnum tradeType; |
|||
|
|||
@ApiModelProperty("营收额") |
|||
private BigDecimal revenue; |
|||
|
|||
@ApiModelProperty("营收额百分比") |
|||
private BigDecimal revenuePct; |
|||
|
|||
@ApiModelProperty("服务费百分比") |
|||
private BigDecimal servicePct; |
|||
|
|||
@ApiModelProperty("收益额 营收额除去平台服务费") |
|||
private BigDecimal earnings; |
|||
|
|||
@ApiModelProperty("订单金额") |
|||
private BigDecimal totalAssociateOrderAmount; |
|||
|
|||
@ApiModelProperty("服务用户名称") |
|||
private String serviceUserName; |
|||
|
|||
@ApiModelProperty("服务用户手机") |
|||
private String serviceUserPhone; |
|||
|
|||
@ApiModelProperty("内容") |
|||
private String content; |
|||
|
|||
@ApiModelProperty("凭证Url") |
|||
private String proofUrl; |
|||
|
|||
@ApiModelProperty("创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save