You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.5 KiB
45 lines
1.5 KiB
package de.superx.jdbc.entity; |
|
|
|
import org.springframework.data.annotation.Id; |
|
import org.springframework.data.relational.core.mapping.Table; |
|
|
|
import de.superx.jdbc.model.DynamicFieldType; |
|
import de.superx.jdbc.model.EntityDescriptor; |
|
import de.superx.jdbc.model.TableRef; |
|
import de.superx.rest.model.FieldType; |
|
|
|
@Table("cifx_customize") |
|
public class CifxCustomize extends EntityBase { |
|
|
|
@Id |
|
@DynamicFieldType(label = "ID", visibleInSimplifiedForm = false, readOnly = true) |
|
public Integer tid; |
|
|
|
@DynamicFieldType(label = "CIFX Tabelle", editControlType = FieldType.Select) |
|
@TableRef(table = "cifx_table", keyField = "name", labelExpression = "{caption}", sortField = "name") |
|
public String cifx_table; |
|
|
|
@DynamicFieldType(label = "Schlüsselgruppe (key)", editControlType = FieldType.Select) |
|
@TableRef(table = "cifx_key", keyField = "key", labelExpression = "{key} - {druck}", sortField = "druck") |
|
public Integer key; |
|
|
|
@EntityDescriptor |
|
@DynamicFieldType(label = "Schlüssel (apnr)") |
|
public String apnr; |
|
|
|
@DynamicFieldType(label = "Kurztext") |
|
public String kurz; |
|
|
|
@DynamicFieldType(label = "Drucktext") |
|
public String druck; |
|
|
|
@DynamicFieldType(label = "Langbesch. 1", visibleInSimplifiedForm = false) |
|
public String lang_1; |
|
|
|
// wird nicht verwendet |
|
// @DynamicFieldType(label = "Schlüssel (uniquename)") |
|
// public String uniquename; |
|
|
|
@DynamicFieldType(label = "struktur_c", visibleInSimplifiedForm = true) |
|
public String struktur_c; |
|
}
|
|
|