| package com.pt5.pthouduan.entity; |
| |
| import com.baomidou.mybatisplus.annotation.TableId; |
| import com.baomidou.mybatisplus.annotation.TableName; |
| |
| import java.io.Serializable; |
| import java.time.LocalDateTime; |
| import java.util.Date; |
| |
| /** |
| * <p> |
| * |
| * </p> |
| * |
| * @author 杨蔓 |
| * @since 2025-05-16 |
| */ |
| @TableName("activity") |
| public class Activity implements Serializable { |
| |
| private static final long serialVersionUID = 1L; |
| |
| @TableId("activityid") |
| private Integer activityid; |
| |
| private String title; |
| |
| private String content; |
| |
| private String photo; |
| |
| private LocalDateTime time; |
| |
| private Integer is_show; |
| |
| private Integer award; |
| |
| |
| public Integer getActivityid() { |
| return activityid; |
| } |
| |
| public void setActivityid(Integer activityid) { |
| this.activityid = activityid; |
| } |
| |
| public String getTitle() { |
| return title; |
| } |
| |
| public void setTitle(String title) { |
| this.title = title; |
| } |
| |
| public String getContent() { |
| return content; |
| } |
| |
| public void setContent(String content) { |
| this.content = content; |
| } |
| |
| public String getPhoto() {//获取标签 |
| return photo; |
| } |
| |
| public void setPhoto(String photo) { |
| this.photo = photo; |
| } |
| |
| public LocalDateTime getTime() { |
| return time; |
| } |
| |
| public void setTime(LocalDateTime time) { |
| this.time = time; |
| } |
| |
| public Integer getIs_show() { |
| return is_show; |
| } |
| |
| public void setIs_show(Integer is_show) { |
| this.is_show = is_show; |
| } |
| |
| public Integer getAward() { |
| return award; |
| } |
| |
| public void setAward(Integer award) { |
| this.award = award; |
| } |
| |
| |
| |
| |
| @Override |
| public String toString() { |
| return "Activity{" + |
| "activityid=" + activityid + |
| ", title=" + title + |
| ", content=" + content + |
| ", photo=" + photo + |
| ", time=" + time + |
| ", is_show=" + is_show + |
| ", award=" + award + |
| '}'; |
| } |
| } |