package cn.newfeifan.mall.module.distri.controller.admin.partitionson.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 PartitionSonPageReqVO extends PageParam {

    @Schema(description = "用户ID", example = "19323")
    private Long userId;

    @Schema(description = "分区编号")
    private String partNo;

    @Schema(description = "业绩", example = "5813")
    private Integer price;

    @Schema(description = "是否碰撞 0为未碰撞 1为已碰撞")
    private Integer hasHit;

    @Schema(description = "碰撞后额度")
    private Integer afterHitQuota;

    @Schema(description = "是否是大区 0为小区 1为大区")
    private Integer size;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "用户名称", example = "非繁人")
    private String name;

    @Schema(description = "用户昵称", example = "李四")
    private String nickName;


}