/*
 * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
 */
package org.ligoj.bootstrap.model.system;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import lombok.Getter;
import lombok.Setter;

/**
 * System configuration. The name property corresponds to the key.
 */
@Entity
@Table(name = "S_CONFIGURATION", uniqueConstraints = @UniqueConstraint(columnNames = "name"))
@Getter
@Setter
public class SystemConfiguration extends AbstractNamedValue<Integer> {

	/**
	 * SID
	 */
	private static final long serialVersionUID = 1L;

	// Nothing

}

@@ -233,16 +233,221 @@
 traint;%0D
+%0Aimport javax.validation.constraints.NotBlank;%0D%0Aimport javax.validation.constraints.NotNull;%0D%0Aimport javax.validation.constraints.Size;%0D%0A%0D%0Aimport org.ligoj.bootstrap.core.model.AbstractNamedAuditedEntity;%0D
 %0A%0D%0Aimpor
@@ -747,13 +747,21 @@
 amed
-Value
+AuditedEntity
 %3CInt
@@ -851,17 +851,105 @@
 %0D%0A%09/
-/ Nothing
+**%0D%0A%09 * Value as string.%0D%0A%09 */%0D%0A%09@NotBlank%0D%0A%09@NotNull%0D%0A%09@Size(max = 8192)%0D%0A%09private String value;
 %0D%0A%0D%0A

Update configuration value size to 8K