package com.cpop.jambox.business.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-15 9:26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "EasyLearnPageBo对象", description = "放心学分页查询参数")
public class EasyLearnPageBo {

    /**
     * 结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private LocalDate endDate;

    /**
     * 开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private LocalDate startDate;

    /**
     * 顾问
     */
    @ApiModelProperty(value = "顾问")
    private String staffName;

    /**
     * 品牌与校区模糊查询
     */
    @ApiModelProperty(value = "品牌与校区模糊查询")
    private String brandOrStore;

    /**
     * 订单类型(0：先学后付;1：月付;2：微信支付;3：数币支付;4：机构会员)
     */
    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型(0：先学后付;1：月付;2：微信支付;3：数币支付;4：机构会员)",required = true)
    private Integer orderType;
}
