package com.cpop.system.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.NotNull;
import java.time.LocalDate;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-14 16:22
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "校区续费导出请求", description = "校区续费导出请求")
public class StoreRenewXmlBo {

    /**
     * 校区地址或校区名模糊查询
     */
    @ApiModelProperty(value = "校区地址或校区名模糊查询")
    private String addrOrName;
    /**
     * 品牌或校区名模糊查询
     */
    @ApiModelProperty(value = "品牌或校区名模糊查询")
    private String brandOrStore;

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

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