Changeset 8bcd64c for src/main/java/edu/gjoko/schedlr/entity
- Timestamp:
- 04/19/23 21:19:08 (19 months ago)
- Branches:
- master
- Children:
- 950fa0d
- Parents:
- 9050790
- Location:
- src/main/java/edu/gjoko/schedlr/entity
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/entity/Business.java
r9050790 r8bcd64c 1 1 package edu.gjoko.schedlr.entity; 2 2 3 import com.fasterxml.jackson.annotation.JsonIgnore; 3 4 import com.fasterxml.jackson.annotation.JsonManagedReference; 4 5 import com.fasterxml.jackson.annotation.JsonProperty; … … 51 52 @Column(name = "created") 52 53 @CreatedDate 54 @JsonIgnore 53 55 private LocalDateTime created; 54 56 55 57 @Column(name = "modified") 56 58 @LastModifiedDate 59 @JsonIgnore 57 60 private LocalDateTime modified; 58 61 -
src/main/java/edu/gjoko/schedlr/entity/Service.java
r9050790 r8bcd64c 2 2 3 3 import com.fasterxml.jackson.annotation.JsonBackReference; 4 import com.fasterxml.jackson.annotation.JsonIgnore; 4 5 import lombok.AllArgsConstructor; 5 6 import lombok.Getter; … … 29 30 private Integer duration; 30 31 32 @Column(name = "price") 33 private Integer price; 34 31 35 @OneToOne(cascade = CascadeType.MERGE) 32 36 @JoinColumn(name = "service_type_id", referencedColumnName = "id") … … 40 44 @Column(name = "created") 41 45 @CreatedDate 46 @JsonIgnore 42 47 private LocalDateTime created; 43 48 44 49 @Column(name = "modified") 45 50 @LastModifiedDate 51 @JsonIgnore 46 52 private LocalDateTime modified; 47 53 } -
src/main/java/edu/gjoko/schedlr/entity/Stakeholder.java
r9050790 r8bcd64c 1 1 package edu.gjoko.schedlr.entity; 2 2 3 import com.fasterxml.jackson.annotation.JsonIgnore; 3 4 import lombok.AllArgsConstructor; 4 5 import lombok.Getter; … … 42 43 43 44 @Column(name = "password") 45 @JsonIgnore 44 46 private String password; 45 47 46 48 @Column(name = "created") 47 49 @CreatedDate 50 @JsonIgnore 48 51 private LocalDateTime created; 49 52 50 53 @Column(name = "modified") 51 54 @LastModifiedDate 55 @JsonIgnore 52 56 private LocalDateTime modified; 53 57 }
Note:
See TracChangeset
for help on using the changeset viewer.