package com.pt.entity; | |
import jakarta.persistence.Entity; | |
import jakarta.persistence.Id; | |
@Entity | |
public class InvitedCode { | |
@Id | |
private String code; | |
private String owner; | |
public InvitedCode() { | |
} | |
public InvitedCode(String code, String owner) { | |
this.code = code; | |
this.owner = owner; | |
} | |
public String getCode() { | |
return code; | |
} | |
public void setCode(String code) { | |
this.code = code; | |
} | |
public String getOwner() { | |
return owner; | |
} | |
public void setOwner(String owner) { | |
this.owner = owner; | |
} | |
} |