| package com.pt5.pthouduan.entity; |
| |
| import com.baomidou.mybatisplus.annotation.TableId; |
| import com.baomidou.mybatisplus.annotation.TableName; |
| |
| import java.io.Serializable; |
| |
| /** |
| * <p> |
| * |
| * </p> |
| * |
| * @author ljx |
| * @since 2025-04-14 |
| */ |
| @TableName("invite") |
| public class Invites implements Serializable { |
| |
| private static final long serialVersionUID = 1L; |
| |
| @TableId("inviteid") |
| private Long inviteid; |
| |
| private String username;//新用户用户名 |
| |
| private String buyername;//邀请人用户名 |
| |
| private String code; |
| |
| private int isUsed; |
| |
| |
| |
| |
| public Long getInviteid() { |
| return inviteid; |
| } |
| |
| public void setInviteid(Long inviteid) { |
| this.inviteid = inviteid; |
| } |
| |
| public String getUsername() { |
| return username; |
| } |
| |
| public void setUsername(String userid) { |
| this.username = userid; |
| } |
| |
| |
| public String getCode() { |
| return code; |
| } |
| |
| public void setCode(String code) { |
| this.code = code; |
| } |
| |
| public int getIsUsed() { |
| return isUsed; |
| } |
| |
| public void setIsUsed(int isUsed) { |
| this.isUsed = isUsed; |
| } |
| |
| @Override |
| public String toString() { |
| return "Invites{" + |
| "inviteid = " + inviteid + |
| ", username = " + username + ", buyername = " + buyername + |
| ", code = " + code + |
| ", isUsed = " + isUsed + |
| "}"; |
| } |
| |
| public String getBuyername() { |
| return buyername; |
| } |
| |
| public void setBuyername(String buyername) { |
| this.buyername = buyername; |
| } |
| } |