package com.tofly.feesapi.sfgl.entity.dto;

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

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Administrator
 * @date 2026/1/19
 */
@Data
public class JzhztjSeachFilter {
    @ApiModelProperty("财务日期")
    private String cwrq;

    @ApiModelProperty("年份")
    private String nf;

    @ApiModelProperty("截止日期(yyyy-MM-dd HH:mm:ss)")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date jzEnd;

    @ApiModelProperty(value = "结转汇总查询类型 1-应收查询 2-实收查询 3-欠费查询")
    private Integer type;

    @ApiModelProperty("收费标志")
    private String sfbz;

    @ApiModelProperty("冲红标志")
    private String chbz;

    @ApiModelProperty(value = "开始日期(yyyy-MM-dd HH:mm:ss)", hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startDate;

    @ApiModelProperty(value = "截止日期(yyyy-MM-dd HH:mm:ss)", hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endDate;

}
