소스 검색

no message

reset-do-picking-order
Tommy\2Fi-Staff 1 주 전
부모
커밋
d6deedc482
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/main/java/com/ffii/fpsms/modules/master/entity/BomProcessMaterial.kt

+ 3
- 0
src/main/java/com/ffii/fpsms/modules/master/entity/BomProcessMaterial.kt 파일 보기

@@ -1,5 +1,6 @@
package com.ffii.fpsms.modules.master.entity

import com.fasterxml.jackson.annotation.JsonBackReference
import com.ffii.core.entity.BaseEntity
import jakarta.persistence.*
import jakarta.validation.constraints.NotNull
@@ -10,10 +11,12 @@ open class BomProcessMaterial : BaseEntity<Long>() {
@NotNull
@ManyToOne(optional = false)
@JoinColumn(name = "bomProcessId", nullable = false)
@JsonBackReference
open var bomProcess: BomProcess? = null

@NotNull
@ManyToOne(optional = false)
@JoinColumn(name = "bomMaterialId", nullable = false)
@JsonBackReference
open var bomMaterial: BomMaterial? = null
}

불러오는 중...
취소
저장