Преглед на файлове

update material

create_edit_user
MSI\derek преди 5 месеца
родител
ревизия
d8442ef471
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      src/main/java/com/ffii/fpsms/modules/master/entity/Material.kt

+ 2
- 2
src/main/java/com/ffii/fpsms/modules/master/entity/Material.kt Целия файл

@@ -35,10 +35,10 @@ open class Material : BaseEntity<Long>() {
@OneToMany(mappedBy = "material", cascade = [CascadeType.ALL], orphanRemoval = true) @OneToMany(mappedBy = "material", cascade = [CascadeType.ALL], orphanRemoval = true)
@JsonManagedReference("material-uom") @JsonManagedReference("material-uom")
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonInclude(JsonInclude.Include.NON_NULL)
private val uom: Set<ProductMaterialWeightUnit> = HashSet()
private val uom: Set<ProductMaterialUom> = HashSet()


@OneToMany(mappedBy = "material", cascade = [CascadeType.ALL], orphanRemoval = true) @OneToMany(mappedBy = "material", cascade = [CascadeType.ALL], orphanRemoval = true)
@JsonManagedReference("material-uom")
@JsonManagedReference("material-type")
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonInclude(JsonInclude.Include.NON_NULL)
private val type: Set<ProductMaterialType> = HashSet() private val type: Set<ProductMaterialType> = HashSet()




Зареждане…
Отказ
Запис