com.eurodyn.qlack2.be.rules.web.dto.LibraryVersionRestDTO Maven / Gradle / Ivy
package com.eurodyn.qlack2.be.rules.web.dto;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class LibraryVersionRestDTO {
@NotNull
@NotEmpty
private String id;
@NotNull
@NotEmpty
@Length(min = 1, max = 255)
private String name;
@Length(min = 0, max = 1024)
private String description;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}