We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这里为啥要替换BaseEntity,这样填充属性不就得重新写一遍吗? public class SysDept extends BaseEntity ==》public class SysDept extends Model
The text was updated successfully, but these errors were encountered:
直接在基类上继承不可以吗?
public class BaseEntity<T extends Model<?>> extends Model<T>
Sorry, something went wrong.
有代码生成器,这些通用字段不用管, base 实体 controller 这些属于 充血模型, POJO 里面就需要简单一点
有点不太明白,继承Model是为了实现当前实体的一些业务方法,这样就是充血模型是吧。POJO(VO、DTO)这种只专注数据,这种的需要继承BaseEntity是吗
No branches or pull requests
这里为啥要替换BaseEntity,这样填充属性不就得重新写一遍吗?
public class SysDept extends BaseEntity ==》public class SysDept extends Model
The text was updated successfully, but these errors were encountered: