- 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;
}
推薦閱讀
- Getting Started with Gulp(Second Edition)
- Python概率統計
- Docker and Kubernetes for Java Developers
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- 編程卓越之道(卷3):軟件工程化
- NativeScript for Angular Mobile Development
- Mastering Predictive Analytics with Python
- 數據結構習題解析與實驗指導
- Swift細致入門與最佳實踐
- Scala Reactive Programming
- Unity 2018 Shaders and Effects Cookbook
- Learning Apache Cassandra
- Swift 4從零到精通iOS開發
- Kubernetes源碼剖析
- Illustrator CS6設計與應用任務教程