package cn.newfeifan.mall.module.distri.controller.admin.orderpercentage.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.newfeifan.mall.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.newfeifan.mall.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 积分相关计算浮动百分比设置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPercentagePageReqVO extends PageParam {

    @Schema(description = "毛利 = 成本 * 0.38... (推广费用)")
    private String grossProfitPerc;

    @Schema(description = "推广-用户额度 百分比")
    private String grossProfitUserQuotaPerc;

    @Schema(description = "推广-推荐人额度 百分比")
    private String grossProfitAncestorQuotaPerc;

    @Schema(description = "推广-合赢奖额度(浮动) 百分比")
    private String grossProfitBonusQuotaPerc;

    @Schema(description = "推广-平台分成额度(浮动) 百分比")
    private String grossProfitPlatformQuotaPerc;

    @Schema(description = "分成百分比")
    private String divideIntoPerc;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "是否启用 0关闭 1启动", example = "2")
    private Integer status;
}