package com.zsElectric.boot.business.model.query;

import com.zsElectric.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 优惠劵模板分页查询对象
 *
 * @author zsElectric
 * @since 2025-12-15 11:14
 */
@Schema(description ="优惠劵模板查询对象")
@Getter
@Setter
public class CouponTemplateQuery extends BasePageQuery {

    @Schema(description = "优惠劵模板名称")
    private String name;

    @Schema(description = "优惠劵模板状态")
    private Integer status;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
