All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.kernel.masterdata.entity.SchemaDefinition Maven / Gradle / Ivy

There is a newer version: 1.2.1.0
Show newest version
package io.mosip.kernel.masterdata.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 
 * @author anusha
 *
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "schema_def", schema = "master")
public class SchemaDefinition extends BaseEntity {
	
	@Id
	@Column(name = "id", nullable = false)
	private String id;
	
	@Column(name = "def_name", nullable = false)
	private String defName;
	
	@Column(name = "def_type", nullable = false)
	private String defType;
	
	@Column(name = "add_props", nullable = false)
	private boolean additionalProperties;
	
	@Column(name = "def_json", nullable = false, length=2000)
	private String definitionJson;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy