From cd4a4617fd33b0e25185ab2012a536821420fd80 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 30 四月 2021 19:09:56 +0800 Subject: [PATCH] 直播相关服务 --- src/main/java/com/yeshi/buwan/domain/live/TVLiveCategory.java | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/domain/live/TVLiveCategory.java b/src/main/java/com/yeshi/buwan/domain/live/TVLiveCategory.java index 9145c83..ba02214 100644 --- a/src/main/java/com/yeshi/buwan/domain/live/TVLiveCategory.java +++ b/src/main/java/com/yeshi/buwan/domain/live/TVLiveCategory.java @@ -1,12 +1,17 @@ package com.yeshi.buwan.domain.live; +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; + import java.util.Date; /** * 鐢佃鐩存挱鍒嗙被 */ +@Document(collection = "tvLiveCategory") public class TVLiveCategory { + @Id private String id; private String name; private String icon; @@ -14,6 +19,51 @@ private Date createTime; private Date updateTime; + public String getId() { + return id; + } + public void setId(String id) { + this.id = id; + } + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } } -- Gitblit v1.8.0