com.hn.doc.xyj.parse.DomainParse Maven / Gradle / Ivy
package com.hn.doc.xyj.parse;
import lombok.Data;
import java.util.List;
/**
* 描述: 实体类解析
*
* @author fei
* 2020-01-10 11:49
*/
@Data
public class DomainParse {
private String className;
private String javaSrcPath;
private List fieldList;
public Field createField(){
return new Field();
}
public class Field{
private String name;
private String type;
private String typeClass;
private String comment;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getTypeClass() {
return typeClass;
}
public void setTypeClass(String typeClass) {
this.typeClass = typeClass;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("Field{");
sb.append("name='").append(name).append('\'');
sb.append(", type='").append(type).append('\'');
sb.append(", typeClass='").append(typeClass).append('\'');
sb.append(", comment='").append(comment).append('\'');
sb.append('}');
return sb.toString();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy