mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2026-03-22 15:39:04 +08:00
@@ -19,6 +19,8 @@ public class ${classInfo.className} implements Serializable {
|
|||||||
private ${fieldItem.fieldClass} ${fieldItem.fieldName};
|
private ${fieldItem.fieldClass} ${fieldItem.fieldName};
|
||||||
|
|
||||||
</#list>
|
</#list>
|
||||||
|
public ${classInfo.className}() {
|
||||||
|
}
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,8 @@ public class ${classInfo.className} implements Serializable {
|
|||||||
private ${fieldItem.fieldClass} ${fieldItem.fieldName};
|
private ${fieldItem.fieldClass} ${fieldItem.fieldName};
|
||||||
|
|
||||||
</#list>
|
</#list>
|
||||||
|
public ${classInfo.className}() {
|
||||||
|
}
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,9 @@ public class ${classInfo.className} implements Serializable {
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
|
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
|
||||||
|
public ${classInfo.className}() {
|
||||||
|
}
|
||||||
|
|
||||||
<#list classInfo.fieldList as fieldItem>
|
<#list classInfo.fieldList as fieldItem>
|
||||||
public ${fieldItem.fieldClass} get${fieldItem.fieldName?cap_first}() {
|
public ${fieldItem.fieldClass} get${fieldItem.fieldName?cap_first}() {
|
||||||
return ${fieldItem.fieldName};
|
return ${fieldItem.fieldName};
|
||||||
|
|||||||
Reference in New Issue
Block a user