SpringBoot注解说明

@AppService    说明这是app服务类;

@Transactional    表示该类或方法里面的所有方法或者这个方法的事务由spring处理@Transient    表示该属性并非一个到数据库表的字段的映射

@Autowired    可以对成员变量、方法和构造函数进行标注,来完成自动装配的工作
@AppService.ValidationGroup(AppService.ValidationGroup.Create.class)    分组校验
@Entity        表明此类是实体类
@DomainService    表明此类是domainService类,主要业务实现部分

猜你喜欢

转载自blog.csdn.net/qq_1365462762/article/details/75337872