[ADD] Allocationの複合キークラスを作成しました。
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
package com.example.demo.app.infra.entity;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class AllocationId implements Serializable {
|
||||||
|
private Long categoryEntity;
|
||||||
|
|
||||||
|
private Long courseEntity;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user