Skip to content
Snippets Groups Projects
Commit 56f86de6 authored by Stian Lyng's avatar Stian Lyng
Browse files

add entity

parent 4fe1171e
No related branches found
No related tags found
No related merge requests found
package ntnu.idatt2016.v233.SmartMat.entity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Entity(name = "groups")
@Data
public class Group {
@Id
@Column(name = "group_id")
long groupId;
@Column(name = "level")
int level;
@Column(name = "points")
int points;
@Column(name = "group_name")
String groupName;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment