com.smartnews.jpa_entity_generator.rule.AdditionalCodeRule 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 additional code in entity classes.
*/
@Data
public class AdditionalCodeRule implements Serializable, ClassMatcher {
private String className;
private List classNames = new ArrayList<>();
private AdditionalCodePosition position = AdditionalCodePosition.Bottom;
private String code;
private String jpa1Code;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy