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

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

import java.util.Date;

/**
 * @author lihaoli
 * @date 2025/3/26
 */
@Data
public class YhXzbgLogFilter {
    @ApiModelProperty(value = "所属公司")
    private String ssgs;

    @ApiModelProperty(value = "所属抄表片区")
    private String sscbpq;

    @ApiModelProperty(value = "所属表册")
    private String sscbb;

    @ApiModelProperty(value = "变更方向（0不变，1低改高，2高改低）")
    private String bgfx;

    @ApiModelProperty(value = "变更前性质")
    private String oldYslx;

    @ApiModelProperty(value = "变更后性质")
    private String newYslx;

    @ApiModelProperty(value = "操作人员编码")
    private String czrybm;

    @ApiModelProperty(value = "操作时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsjStart;

    @ApiModelProperty(value = "操作时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsjEnd;

    @ApiModelProperty(value = "关键字")
    private String searchText;

    @ApiModelProperty(value = "工单状态：1处理中、2已完成、3已作废")
    private String gdzt;

    @ApiModelProperty(value = "Excel导出字段", example = "yhbh,yhxm")
    private String exportFields;
}
