Ignore:
Timestamp:
10/18/22 00:50:33 (2 years ago)
Author:
Gjoko <goko_kostadinov@…>
Branches:
master
Children:
763289e
Parents:
401a211
Message:

Adding register customer functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/entity/Business.java

    r401a211 r204464d  
    3535    private LocalDateTime closingTime;
    3636
    37     @OneToOne(cascade = CascadeType.ALL)
    38     @JoinColumn(name = "owner_id", referencedColumnName = "id")
     37    @ManyToOne
     38    @JoinColumn(name = "owner_id", referencedColumnName = "id", nullable = false)
    3939    private Stakeholder owner;
    4040
Note: See TracChangeset for help on using the changeset viewer.