Update JenisLog.java
This commit is contained in:
parent
28e45f1f65
commit
36e24d88b0
@ -26,11 +26,11 @@ public class JenisLog extends BaseActive implements Serializable {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "sg_jenis_log_m")
|
||||
@SequenceGenerator(name = "sg_jenis_log_m", sequenceName = "rm_jenis_log_m_seq", allocationSize = 1)
|
||||
@SequenceGenerator(name = "sg_jenis_log_m", sequenceName = "jenis_log_m_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Long id;
|
||||
|
||||
@Column(length = 150, nullable = false)
|
||||
@Column(length = 150, unique = true, nullable = false)
|
||||
@Size(max = 150)
|
||||
@NotBlank
|
||||
@Caption("Jenis Log")
|
||||
|
||||
@ -52,4 +52,9 @@ public class UserLogging extends BaseMaster {
|
||||
@Column(name = "keterangan", length = 200)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "jenislogfk")
|
||||
@Caption(value = "Jenis Log FK")
|
||||
private JenisLog jenisLogFk;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user