com.smartnews.jpa_entity_generator.metadata.Column Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa-entity-generator Show documentation
Show all versions of jpa-entity-generator Show documentation
Lombok-wired JPA entity source code generator, Gradle and Maven supported.
package com.smartnews.jpa_entity_generator.metadata;
import lombok.Data;
import java.util.Optional;
/**
* Database metadata: a column in a table
*/
@Data
public class Column {
private String name;
private int typeCode;
private String typeName;
private boolean nullable;
private boolean primaryKey;
private boolean autoIncrement;
private Optional description = Optional.empty();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy