mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2025-12-26 05:48:33 +08:00
commit
e84fd270d4
@ -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};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user