com.smartnews.jpa_entity_generator.rule.FieldAnnotationRule 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.rule;
import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Rule used to generate annotations for a given field.
*/
@Data
public class FieldAnnotationRule implements Serializable, FieldMatcher {
private String className;
private List classNames = new ArrayList<>();
private String fieldName;
private List fieldNames = new ArrayList<>();
private List annotations = new ArrayList<>();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy