package com.cpop.system.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

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

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

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

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