Skip to content

Conversation

@RaidenPL
Copy link
Collaborator

@RaidenPL RaidenPL commented Dec 2, 2023

No description provided.

@RaidenPL RaidenPL linked an issue Dec 2, 2023 that may be closed by this pull request
[Column("reservation_start_date")]
public DateOnly reservationStartDate { get; }
[Column("reservation_end_date")]
public DateOnly reservationEndDate { get; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nie potrzebne

public Reservation()
{
reservationStartDate = new();
reservationEndDate = reservationStartDate.AddMonths(+1);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

[Column("reservation_start_date")]
public DateOnly reservationStartDate { get; }
[Column("reservation_end_date")]
public DateOnly reservationEndDate { get; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

popraw zeby tego nie było

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Encja rezerwacja

3 participants