Exceptions and Errors are better Files structure is better New ComponentContext.ts New DataTable.tsx tables.ts Massive components refactoring New Group.java New LoggingRequestFilter.java LoggingSessionListener.java New NotificationStore.ts SysInfoStore.ts New reactiveValue.ts ReactiveControls.tsx New dependencies And much more
26 lines
466 B
Java
26 lines
466 B
Java
package ru.tubryansk.tdms.entity;
|
|
|
|
|
|
import jakarta.persistence.*;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
@Entity
|
|
@Table(name = "group")
|
|
public class Group {
|
|
@Id
|
|
@Column(name = "id")
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
@Column(name = "name")
|
|
private String name;
|
|
@ManyToOne
|
|
@JoinColumn(name = "curator_user_id")
|
|
private User groupCurator;
|
|
}
|