Skip to content

Commit

Permalink
mybatis_entity.java.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
ixre committed Mar 18, 2024
1 parent 9bbc239 commit 491d7a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;

{{$entity := join .table.Title .global.entity_suffix}}
/**
Expand Down Expand Up @@ -47,7 +48,7 @@ public class {{$entity}} implements Cloneable {
}
{{end}}


@Override
public {{$entity}} clone() {
try {
return ({{$entity}}) super.clone();
Expand Down

0 comments on commit 491d7a0

Please sign in to comment.