package com.cool.store.request.wallet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 * 交易流水查询Request
 * </p>
 *
 * @author wangff
 * @since 2025/11/17
 */
@Data
public class AccountBillQueryRequest extends StoreShopRequest {

    @ApiModelProperty("交易开始时间，不传查当月")
    private Date beginDate;

    @ApiModelProperty("交易结束时间")
    private Date endDate;

    @ApiModelProperty(value = "钱包类型 1.平安 2.网商", required = true)
    @NotNull(message = "钱包类型不能为空")
    private Integer walletType;

    @ApiModelProperty("是否签约人账户 0 否 1 是")
    private Integer isLegal;

    @ApiModelProperty("交易类型:  0.全部,1.支出 2.收入")
    private Integer recordType;

    @ApiModelProperty("费用类型ID")
    private Long feeItemId;

    //页码
    private Integer pageNum;

    //分页大小
    private Integer pageSize;
}
