ym923 | 977239c | 2025-06-06 17:36:14 +0800 | [diff] [blame] | 1 | package com.pt5.pthouduan.entity; |
| 2 | |
| 3 | import com.baomidou.mybatisplus.annotation.TableId; |
| 4 | import com.baomidou.mybatisplus.annotation.TableName; |
| 5 | |
| 6 | import java.io.Serializable; |
| 7 | import java.time.LocalDateTime; |
| 8 | import java.util.Date; |
| 9 | |
| 10 | /** |
| 11 | * <p> |
| 12 | * |
| 13 | * </p> |
| 14 | * |
| 15 | * @author 杨蔓 |
| 16 | * @since 2025-05-16 |
| 17 | */ |
| 18 | @TableName("activity") |
| 19 | public class Activity implements Serializable { |
| 20 | |
| 21 | private static final long serialVersionUID = 1L; |
| 22 | |
| 23 | @TableId("activityid") |
| 24 | private Integer activityid; |
| 25 | |
| 26 | private String title; |
| 27 | |
| 28 | private String content; |
| 29 | |
| 30 | private String photo; |
| 31 | |
| 32 | private LocalDateTime time; |
| 33 | |
| 34 | private Integer is_show; |
| 35 | |
| 36 | private Integer award; |
| 37 | |
| 38 | |
| 39 | public Integer getActivityid() { |
| 40 | return activityid; |
| 41 | } |
| 42 | |
| 43 | public void setActivityid(Integer activityid) { |
| 44 | this.activityid = activityid; |
| 45 | } |
| 46 | |
| 47 | public String getTitle() { |
| 48 | return title; |
| 49 | } |
| 50 | |
| 51 | public void setTitle(String title) { |
| 52 | this.title = title; |
| 53 | } |
| 54 | |
| 55 | public String getContent() { |
| 56 | return content; |
| 57 | } |
| 58 | |
| 59 | public void setContent(String content) { |
| 60 | this.content = content; |
| 61 | } |
| 62 | |
| 63 | public String getPhoto() {//获取标签 |
| 64 | return photo; |
| 65 | } |
| 66 | |
| 67 | public void setPhoto(String photo) { |
| 68 | this.photo = photo; |
| 69 | } |
| 70 | |
| 71 | public LocalDateTime getTime() { |
| 72 | return time; |
| 73 | } |
| 74 | |
| 75 | public void setTime(LocalDateTime time) { |
| 76 | this.time = time; |
| 77 | } |
| 78 | |
| 79 | public Integer getIs_show() { |
| 80 | return is_show; |
| 81 | } |
| 82 | |
| 83 | public void setIs_show(Integer is_show) { |
| 84 | this.is_show = is_show; |
| 85 | } |
| 86 | |
| 87 | public Integer getAward() { |
| 88 | return award; |
| 89 | } |
| 90 | |
| 91 | public void setAward(Integer award) { |
| 92 | this.award = award; |
| 93 | } |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | @Override |
| 99 | public String toString() { |
| 100 | return "Activity{" + |
| 101 | "activityid=" + activityid + |
| 102 | ", title=" + title + |
| 103 | ", content=" + content + |
| 104 | ", photo=" + photo + |
| 105 | ", time=" + time + |
| 106 | ", is_show=" + is_show + |
| 107 | ", award=" + award + |
| 108 | '}'; |
| 109 | } |
| 110 | } |