com.formkiq.server.domain.FormLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
package com.formkiq.server.domain;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
/**
* Form Log domain.
*
*/
@Entity
@Table(name = "form_logs")
public class FormLog {
/** identifier column. */
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "form_log_id", unique = true)
private Integer formLogid;
/** Client ID column. */
@NotNull
@Column(name = "client_id", nullable = false)
private String clientid;
/** Form ID column. */
@NotNull
@Column(name = "form_id", nullable = false)
private String formId;
/** inserted column. */
@NotNull
@Column(name = "inserted_date", nullable = false)
private Date insertedDate;
/**
* default constructor.
*/
public FormLog() {
}
/**
* @return Date
*/
public Date getInsertedDate() {
return this.insertedDate != null ? (Date) this.insertedDate.clone()
: null;
}
/**
* @param date Date
*/
public void setInsertedDate(final Date date) {
this.insertedDate = date != null ? (Date) date.clone() : null;
}
/**
* @return Integer
*/
public Integer getFormLogid() {
return this.formLogid;
}
/**
* @param formLog Integer
*/
public void setFormLogid(final Integer formLog) {
this.formLogid = formLog;
}
/**
* @return {@link String}
*/
public String getClientid() {
return this.clientid;
}
/**
* @param id String
*/
public void setClientid(final String id) {
this.clientid = id;
}
/**
* @return {@link String}
*/
public String getFormId() {
return this.formId;
}
/**
* @param form String
*/
public void setFormId(final String form) {
this.formId = form;
}
}