MCPcopy Create free account
hub / github.com/LQF-dev/smart-hr / Position

Class Position

back/src/main/java/com/smarthr/entity/Position.java:20–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18import java.util.List;
19
20@Data
21@Entity
22@Builder
23@NoArgsConstructor
24@AllArgsConstructor
25@Table(name = "positions")
26public class Position {
27
28 @Id
29 @GeneratedValue(strategy = GenerationType.IDENTITY)
30 private Long id;
31
32 @Column(nullable = false, length = 100)
33 private String title;
34
35 @Column(length = 100)
36 private String company;
37
38 @Column(name = "salary_range", length = 50)
39 private String salaryRange;
40
41 @Column(length = 50)
42 private String experience;
43
44 @Column(length = 50)
45 private String education;
46
47 @Column(length = 50)
48 private String location;
49
50 @Column(columnDefinition = "TEXT")
51 private String responsibilities;
52
53 @Column(columnDefinition = "TEXT")
54 private String requirements;
55
56 @JdbcTypeCode(SqlTypes.ARRAY)
57 @Column(columnDefinition = "TEXT[]")
58 private List<String> skills;
59
60 @Column(name = "created_by")
61 private Long createdBy;
62
63 @Column(name = "created_at")
64 private LocalDateTime createdAt;
65
66 @Column(name = "updated_at")
67 private LocalDateTime updatedAt;
68
69 @Builder.Default
70 @Column(name = "deleted", nullable = false, columnDefinition = "boolean not null default false")
71 private boolean deleted = false;
72}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected