blob: 2fdad23eeb42412f3b7218c6f009d36c3966e827 [file] [log] [blame]
刘嘉昕f28ea232025-04-15 16:55:43 +08001package com.pt5.pthouduan.entity;
2
3import com.baomidou.mybatisplus.annotation.TableId;
4import com.baomidou.mybatisplus.annotation.TableName;
5
6import java.io.Serializable;
7
8/**
9 * <p>
10 *
11 * </p>
12 *
13 * @author ljx
14 * @since 2025-04-14
15 */
Sure2338188c5d2025-05-28 11:43:06 +080016@TableName("invite")
刘嘉昕f28ea232025-04-15 16:55:43 +080017public class Invites implements Serializable {
18
19 private static final long serialVersionUID = 1L;
20
21 @TableId("inviteid")
22 private Long inviteid;
23
Sure2338188c5d2025-05-28 11:43:06 +080024 private String username;//新用户用户名
刘嘉昕f28ea232025-04-15 16:55:43 +080025
Sure2338188c5d2025-05-28 11:43:06 +080026 private String buyername;//邀请人用户名
刘嘉昕f28ea232025-04-15 16:55:43 +080027
28 private String code;
29
Sure2338188c5d2025-05-28 11:43:06 +080030 private int isUsed;
31
32
33
刘嘉昕f28ea232025-04-15 16:55:43 +080034
35 public Long getInviteid() {
36 return inviteid;
37 }
38
39 public void setInviteid(Long inviteid) {
40 this.inviteid = inviteid;
41 }
42
Sure2338188c5d2025-05-28 11:43:06 +080043 public String getUsername() {
44 return username;
刘嘉昕f28ea232025-04-15 16:55:43 +080045 }
46
Sure2338188c5d2025-05-28 11:43:06 +080047 public void setUsername(String userid) {
48 this.username = userid;
刘嘉昕f28ea232025-04-15 16:55:43 +080049 }
50
刘嘉昕f28ea232025-04-15 16:55:43 +080051
52 public String getCode() {
53 return code;
54 }
55
56 public void setCode(String code) {
57 this.code = code;
58 }
59
Sure2338188c5d2025-05-28 11:43:06 +080060 public int getIsUsed() {
刘嘉昕f28ea232025-04-15 16:55:43 +080061 return isUsed;
62 }
63
Sure2338188c5d2025-05-28 11:43:06 +080064 public void setIsUsed(int isUsed) {
刘嘉昕f28ea232025-04-15 16:55:43 +080065 this.isUsed = isUsed;
66 }
67
68 @Override
69 public String toString() {
70 return "Invites{" +
71 "inviteid = " + inviteid +
Sure2338188c5d2025-05-28 11:43:06 +080072 ", username = " + username + ", buyername = " + buyername +
刘嘉昕f28ea232025-04-15 16:55:43 +080073 ", code = " + code +
74 ", isUsed = " + isUsed +
75 "}";
76 }
Sure2338188c5d2025-05-28 11:43:06 +080077
78 public String getBuyername() {
79 return buyername;
80 }
81
82 public void setBuyername(String buyername) {
83 this.buyername = buyername;
84 }
刘嘉昕f28ea232025-04-15 16:55:43 +080085}