All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feingto.cloud.dto.oauth.ClientDetailLimitDTO Maven / Gradle / Ivy

package com.feingto.cloud.dto.oauth;

import com.feingto.cloud.domain.type.IntervalUnit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author longfei
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClientDetailLimitDTO implements Serializable {
    private static final long serialVersionUID = -3764086344152512416L;

    protected String id;

    @Builder.Default
    private Long limits = 3L;// 限制次数

    @Builder.Default
    private Long frequency = 1L;// 频率

    private IntervalUnit intervalUnit;// 单位

    private String intervalUnitV;// 秒、分钟、小时、天
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy