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

com.deep.BaseObject Maven / Gradle / Ivy

package com.deep;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class BaseObject {

    private Long id;
    @NotBlank
    @NotNull
    private String name;
    @Min(0)
    @Max(10000)
    private Integer depth;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy