package com.abc.calendar.calendarapi.model;
import lombok.*;
import java.util.Date;
import java.util.List;
import java.util.Map;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "calendars")
public class Calendar {
@Id
private String event_id;
private String company_id;
private String title;
private String description;
private Date start_time;
private Date end_time;
private String location;
private String color;
private String status;
private List<String> tags;
// private List<Participant> participants;
// private Organizer organizer;
// private List<Participant> participants;
// private List<Attachment> attachments;
// private Recurring recurring;
// private List<Filter> default_filters;
// private Map<String, List<String>> user_filters;
}
2024-05-23T17:53:18.313-04:00 INFO 19864 --- [calendarapi] [ main] c.a.c.c.CalendarapiApplication :使用 PID 19864 的 Java 21.0.3 启动 CalendarapiApplication (C:\Users aron\Desktop\ABC - RIIPE