package com.yuchen.saas.park.api.commons;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;

@Data
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class IdTreeCount {
    @Positive
    private long id;
    @PositiveOrZero
    private int count;
}
