package com.bcxin.tenant.domain.readers.criterias;

import com.bcxin.Infrastructures.CriteriaAbstract;
import lombok.Getter;

@Getter
public class UserAppealsCriteria extends CriteriaAbstract {
    private final String userId;
    public UserAppealsCriteria(String userId, int pageIndex, int pageSize) {
        super(pageIndex, pageSize);
        this.userId = userId;
    }

    public static UserAppealsCriteria create(String userId, int pageIndex, int pageSize) {
        return new UserAppealsCriteria(userId, pageIndex, pageSize);
    }
}
