feat: company on events, all-company lead lists, shared interests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-30 19:20:16 +08:00
1 parent c9c0745955
commit a6996841ac
24 files changed
+472 -86

No files matched your search

@@ -22,6 +22,8 @@ public class Event implements Serializable {
private String location;
private LocalDateTime dateStart;
private LocalDateTime dateEnd;
@Column(name = "company_id", updatable = false)
private Long companyId;
private String uploadFloorPlan;
private String uploadStageActivities;
private String uploadLuckyDraw;
@@ -7,13 +7,14 @@ import lombok.Setter;
@Getter
@Setter
@Entity
@Table(name = "interest", uniqueConstraints = @UniqueConstraint(columnNames = {"company_id", "name"}))
@Table(name = "interest", uniqueConstraints = @UniqueConstraint(columnNames = {"name"}))
public class Interest {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private long companyId;
/** Unused: interests are one shared list. */
private Long companyId;
private String name;