type实体类代码
public class Type {
private Long id;
@NotBlank(message = "分类名称不能为空")
private String name;
private List<Blog> blogs = new ArrayList<>();
}
对应的表
type
blog
type实体类代码
public class Type {
private Long id;
@NotBlank(message = "分类名称不能为空")
private String name;
private List<Blog> blogs = new ArrayList<>();
}
对应的表
type
blog
8 回答6.4k 阅读
4 回答4.5k 阅读✓ 已解决
5 回答3.3k 阅读✓ 已解决
1 回答3.3k 阅读✓ 已解决
4 回答4.1k 阅读
3 回答3.7k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决