- Spring 5.0 By Example
- Claudio Eduardo de Oliveira
- 54字
- 2021-06-24 19:17:34
Category
A category model for our CMS application can be used to group the news. Also, the other important thing is that this makes our news categorized to make the search task easy. Take a look at the following code:
package springfive.cms.domain.models;
import lombok.Data;
@Data
public class Category {
String id;
String name;
}
推薦閱讀
- Designing Machine Learning Systems with Python
- Java高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- C程序設計案例教程
- Drupal 8 Configuration Management
- Scala編程實戰(原書第2版)
- 軟件品質之完美管理:實戰經典
- HTML5從入門到精通(第4版)
- Xcode 6 Essentials
- Mastering Elixir
- ASP.NET Web API Security Essentials
- Hacking Android
- Bitcoin Essentials
- Building Microservices with Go
- 開源網絡地圖可視化:基于Leaflet的在線地圖開發
- Responsive Web Design with HTML5 and CSS3(Second Edition)