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

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

import javax.validation.constraints.Positive;

@Data
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class IdName {
    @Positive
    private long id;

    private String name;
}
