Please enable JavaScript.
Coggle requires JavaScript to display documents.
Spring Boot (Annotaions (Column (is used to define the properties of the…
Spring Boot
Annotaions
is used to define the properties of the column that will be mapped to the annotated field. You can define several properties like name, length, nullable, updateable etc.
-
:check: nhắc Spring Boot bắt đầu thêm các bean dựa trên các classpath setting, các property setting và các bean khác. Đối với ứng dụng Spring MVC, chúng ta thường phải thêm EnableWebMvc, tuy nhiên Spring Boot sẽ tự động thêm annotation này.
-
-
is used with java.util.Date and java.util.Calendar classes. It converts the date and time values from Java Object to compatible database type and vice versa :check: (ngược lại)
:check: Cụ thể tác dụng là không muốn user Restfull Api cung cấp CreateAt và UpdatedAt. Nếu có thì sẽ bỏ qua nhưng sẽ gửi lại về trong JSON response.
s a combination of Spring’s Controller and ResponseBody annotations.
-
is used to indicate that the return value of a method should be used as the response body of the request.
-
-
Tự động inject (tiêm) 1 instance của class vào biến được đánh dấu Autowired