admin
2021-06-16 42fa17d6209d10cbe4774388d0ff3fcf3329eb5a
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;
    }
}