崔向南 | 03d21b9 | 2025-06-05 17:42:23 +0800 | [diff] [blame^] | 1 | package bounty.domain; |
| 2 | |
| 3 | import com.baomidou.mybatisplus.annotation.TableId; |
| 4 | import com.baomidou.mybatisplus.annotation.TableName; |
| 5 | import lombok.Data; |
| 6 | |
| 7 | import java.util.Date; |
| 8 | |
| 9 | // 悬赏提交实体类 |
| 10 | @Data |
| 11 | @TableName("bounty_submissions") |
| 12 | public class BountySubmission { |
| 13 | @TableId |
| 14 | private Long id; |
| 15 | private Long bountyId; |
| 16 | private Long userId; |
| 17 | private String content; |
| 18 | private String attachment; |
| 19 | private Integer status; |
| 20 | private Date createTime; |
| 21 | |
| 22 | public Long getId() { |
| 23 | return id; |
| 24 | } |
| 25 | |
| 26 | public void setId(Long id) { |
| 27 | this.id = id; |
| 28 | } |
| 29 | |
| 30 | public Long getBountyId() { |
| 31 | return bountyId; |
| 32 | } |
| 33 | |
| 34 | public void setBountyId(Long bountyId) { |
| 35 | this.bountyId = bountyId; |
| 36 | } |
| 37 | |
| 38 | public Long getUserId() { |
| 39 | return userId; |
| 40 | } |
| 41 | |
| 42 | public void setUserId(Long userId) { |
| 43 | this.userId = userId; |
| 44 | } |
| 45 | |
| 46 | public String getContent() { |
| 47 | return content; |
| 48 | } |
| 49 | |
| 50 | public void setContent(String content) { |
| 51 | this.content = content; |
| 52 | } |
| 53 | |
| 54 | public String getAttachment() { |
| 55 | return attachment; |
| 56 | } |
| 57 | |
| 58 | public void setAttachment(String attachment) { |
| 59 | this.attachment = attachment; |
| 60 | } |
| 61 | |
| 62 | public Integer getStatus() { |
| 63 | return status; |
| 64 | } |
| 65 | |
| 66 | public void setStatus(Integer status) { |
| 67 | this.status = status; |
| 68 | } |
| 69 | |
| 70 | public Date getCreateTime() { |
| 71 | return createTime; |
| 72 | } |
| 73 | |
| 74 | public void setCreateTime(Date createTime) { |
| 75 | this.createTime = createTime; |
| 76 | } |
| 77 | } |