Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何自定义模板并在实体类中生成serialVersionUID字段? #83

Open
Galaxy5069 opened this issue Jan 28, 2023 · 1 comment

Comments

@Galaxy5069
Copy link

请问如何配置domain.ftl文件,使得插件生成的实体类中能有一个随机值的serialVersionUID字段?

此外,默认的mybatis-plus3模板中没有domain.ftl文件,它生成的实体类就会自动创建serialVersionUID字段。这是什么原理呢?

@lizhen789
Copy link

我也在找这个模板,没找到。想要修改下里面的内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants