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 java.time.LocalDateTime;

/**
 * 企业资金流水分页查询对象
 *
 * @author zsElectric
 * @since 2025-12-26
 */
@Schema(description = "企业资金流水查询对象")
@Getter
@Setter
public class FirmAccountLogQuery extends BasePageQuery {

    @Schema(description = "企业ID")
    private Long firmId;

    @Schema(description = "类型（1-企业 2-渠道）")
    private Integer firmType;

    @Schema(description = "收支类型（1-转入/上账 2-转出/下账）")
    private Integer incomeType;

    @Schema(description = "改变类型")
    private Integer changeType;

    @Schema(description = "流水号")
    private String serialNo;

    @Schema(description = "交易名称")
    private String name;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}
