Ignore:
Timestamp:
04/19/23 21:19:08 (15 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
950fa0d
Parents:
9050790
Message:

Add admin functionality and business admin functionality.

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  
    11package edu.gjoko.schedlr.entity;
    22
     3import com.fasterxml.jackson.annotation.JsonIgnore;
    34import com.fasterxml.jackson.annotation.JsonManagedReference;
    45import com.fasterxml.jackson.annotation.JsonProperty;
     
    5152    @Column(name = "created")
    5253    @CreatedDate
     54    @JsonIgnore
    5355    private LocalDateTime created;
    5456
    5557    @Column(name = "modified")
    5658    @LastModifiedDate
     59    @JsonIgnore
    5760    private LocalDateTime modified;
    5861
  • src/main/java/edu/gjoko/schedlr/entity/Service.java

    r9050790 r8bcd64c  
    22
    33import com.fasterxml.jackson.annotation.JsonBackReference;
     4import com.fasterxml.jackson.annotation.JsonIgnore;
    45import lombok.AllArgsConstructor;
    56import lombok.Getter;
     
    2930    private Integer duration;
    3031
     32    @Column(name = "price")
     33    private Integer price;
     34
    3135    @OneToOne(cascade = CascadeType.MERGE)
    3236    @JoinColumn(name = "service_type_id", referencedColumnName = "id")
     
    4044    @Column(name = "created")
    4145    @CreatedDate
     46    @JsonIgnore
    4247    private LocalDateTime created;
    4348
    4449    @Column(name = "modified")
    4550    @LastModifiedDate
     51    @JsonIgnore
    4652    private LocalDateTime modified;
    4753}
  • src/main/java/edu/gjoko/schedlr/entity/Stakeholder.java

    r9050790 r8bcd64c  
    11package edu.gjoko.schedlr.entity;
    22
     3import com.fasterxml.jackson.annotation.JsonIgnore;
    34import lombok.AllArgsConstructor;
    45import lombok.Getter;
     
    4243
    4344    @Column(name = "password")
     45    @JsonIgnore
    4446    private String password;
    4547
    4648    @Column(name = "created")
    4749    @CreatedDate
     50    @JsonIgnore
    4851    private LocalDateTime created;
    4952
    5053    @Column(name = "modified")
    5154    @LastModifiedDate
     55    @JsonIgnore
    5256    private LocalDateTime modified;
    5357}
Note: See TracChangeset for help on using the changeset viewer.