首页>代码>Spring Cache标注实现对Redis缓存数据的增删改查的简单实例>/springboot-caching-redis/src/main/java/com/hellokoding/springboot/caching/product/Product.java
package com.hellokoding.springboot.caching.product; import lombok.Data; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.io.Serializable; import java.math.BigDecimal; @Data @Entity public class Product implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String name; private String description; private BigDecimal price; }

十月* LV1
2022年9月22日
yinyun1985 LV14
2022年6月14日
zhenghongixin4065 LV9
2022年4月3日
breakCY LV15
2022年3月21日
xgjdmy_ccb LV11
2021年11月18日
阿昌先生 LV13
2021年6月28日
最代码官方 LV168
2020年12月18日
杰桑awa LV6
2020年10月30日
a1453370401 LV10
2020年10月25日
sweetlove LV20
2020年10月24日