com.eurodyn.qlack.fuse.workflow.model.ProcessFile Maven / Gradle / Ivy
package com.eurodyn.qlack.fuse.workflow.model;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* This model represents the resource files that have been persisted as activity
* workflow. It is used to identify if changes have been to the files, so that a
* new process version can be created.
*
* @author European Dynamics SA
*/
@Entity
@Table(name = "wor_process_file")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ProcessFile {
/**
* the filename in the resources folder
**/
@Id
private String filename;
/**
* the MD5 chechsum of the file
**/
private String checksum;
}