实体类中使用了@Table注解后,想要添加表中不存在的字段,就要使用@Transient这个注解了。
转载地址:https://blog.csdn.net/aaaadong/article/details/87380596