forked from Olympic/NTO-2025-Backend-TeamTask
Commit changes
This commit is contained in:
19
src/main/java/com/example/nto/entity/BookingInfo.java
Normal file
19
src/main/java/com/example/nto/entity/BookingInfo.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.example.nto.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
public class BookingInfo {
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
public LocalDate date;
|
||||
public long placeId;
|
||||
}
|
||||
Reference in New Issue
Block a user