springboot常用注解
摘要:
1、@Data使用这个注解,就不用再去手写Getter,Setter,equals,canEqual,hasCode,toString等方法了,注解后在编译时会自动加进去。2、@AllArgsConstructor使用后添加一个构造函数,该构造函数含有所有已声明字段属性参数3、@NoArgsCons 阅读全文
posted @ 2022-03-07 19:24
1450811640
阅读(169)
评论(0)
推荐(0)
浙公网安备 33010602011771号