You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
898 B
27 lines
898 B
2 weeks ago
|
#parse("vms/$version/common/variable/head.vm")
|
||
|
package ${companyName}.${projectName}.service.${lowerEntity}.dto;
|
||
|
|
||
|
import ${companyName}.${projectName}.model.${Entity};
|
||
|
|
||
|
#parse("vms/$version/common/comment/ClassDesc.vm")
|
||
|
|
||
|
public class ${Entity}Dto extends ${Entity} {
|
||
|
#if($hasDbPriorityKey)
|
||
|
|
||
|
#elseif($hasDbUniqueNodes)
|
||
|
#foreach($uniqueNode in $dbUniqueNodes)
|
||
|
private $uniqueNode.dbField.javaType ${uniqueNode.dbField.javaField}OldValue;
|
||
|
#end
|
||
|
|
||
|
#foreach($uniqueNode in $dbUniqueNodes)
|
||
|
public $uniqueNode.dbField.javaType ${uniqueNode.dbField.javaGetName}OldValue(){
|
||
|
return ${uniqueNode.dbField.javaField}OldValue;
|
||
|
}
|
||
|
public void ${uniqueNode.dbField.javaSetName}OldValue(${uniqueNode.dbField.javaType} ${uniqueNode.dbField.javaField}OldValue){
|
||
|
this.${uniqueNode.dbField.javaField}OldValue = ${uniqueNode.dbField.javaField}OldValue;
|
||
|
}
|
||
|
#end
|
||
|
#end
|
||
|
|
||
|
}
|