diff --git a/src/main/java/com/example/demo/models/Channel.java b/src/main/java/com/example/demo/models/Channel.java index 4964093eb..b6c576f64 100644 --- a/src/main/java/com/example/demo/models/Channel.java +++ b/src/main/java/com/example/demo/models/Channel.java @@ -1,5 +1,43 @@ package com.example.demo.models; public class Channel { +// Comment yo + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + private Long id; + private String name; + private List profileList; + private List messages; + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getProfileList() { + return profileList; + } + + public void setProfileList(List profileList) { + this.profileList = profileList; + } + + public List getMessages() { + return messages; + } + + public void setMessages(List messages) { + this.messages = messages; + } }