Open
Conversation
Open
IZdaniewicz
reviewed
Dec 2, 2023
| [Column("reservation_start_date")] | ||
| public DateOnly reservationStartDate { get; } | ||
| [Column("reservation_end_date")] | ||
| public DateOnly reservationEndDate { get; } |
| public Reservation() | ||
| { | ||
| reservationStartDate = new(); | ||
| reservationEndDate = reservationStartDate.AddMonths(+1); |
Owner
There was a problem hiding this comment.
rezerwacja trwa 3 dni jezeli nie jest wypozyczona a jak jest to 3 dni od oddania trzeba zrobic serwis ktory sprawdza czy nie upłynął przypadkiem czas rezerwacji na podstawie aktualnej daty
added 3 commits
December 8, 2023 15:27
IgorJw
reviewed
Dec 10, 2023
| [Column("reservation_start_date")] | ||
| public DateOnly reservationStartDate { get; } | ||
| [Column("reservation_end_date")] | ||
| public DateOnly reservationEndDate { get; } |
There was a problem hiding this comment.
rezerwacja nie ma end date(zrob serwis ktory na podstawie daty sprawdza czy nie powinno sie jej zdjąć, jak jest wypozyczona to czekaj z wygasnieciem do konca wypozyczenia +3 dni, jak nie to poprostu 3 dni
| using Microsoft.OpenApi.Models; | ||
| using System.Text; | ||
| using web_library; | ||
| <<<<<<< HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.