You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
395 B

package cc.bnblogs.springredis.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 注意一定要记得手动实现序列化
*/
@Data
public class Student implements Serializable {
private static final long serialVersionUID = -6538993081729201303L;
private Integer id;
private String name;
private Integer score;
private Date birth;
}