Ignore:
Timestamp:
01/09/24 01:26:08 (10 months ago)
Author:
ppaunovski <paunovskipavel@…>
Branches:
master
Children:
e272096
Parents:
b101b69
Message:

All 3 main use cases implemented.

  1. Starting a commute
  2. Writing a ticket
  3. Starting an instance of a Bus Line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/mk/ukim/finki/busngo/service/BiletService.java

    rb101b69 rbde8b13  
    22
    33import mk.ukim.finki.busngo.model.entities.Bilet;
     4import mk.ukim.finki.busngo.model.entities.Patnik;
    45import mk.ukim.finki.busngo.model.enums.BILET_STATUS;
    56
     
    1314
    1415    Bilet buy(Long tipbilet, LocalDateTime now, BILET_STATUS biletStatus, String name);
     16
     17    List<Bilet> findAllByPatnikEmail(String email);
     18    Bilet findBybIdAndPatnikEmail(Long bId, String email);
     19
     20    Bilet activate(Long bId);
     21    Bilet findById(Long bId);
     22    Bilet finish(Long bId);
     23
     24    boolean checkExpiration(Long bId);
     25//    void encode();
    1526}
Note: See TracChangeset for help on using the changeset viewer.