Untitled
unknown
java
a year ago
6.0 kB
4
Indexable
package pt.pe.sipe.b2bresellers.domain.entities; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.io.Serial; import java.io.Serializable; import java.util.Date; @Entity @Table(name = "GPE_FILE_CTRL", catalog = "", schema = "GPE_OWNER") @NamedQueries({ @NamedQuery(name = "GpeFileCtrl.findAll", query = "SELECT g FROM GpeFileCtrl g") , @NamedQuery(name = "GpeFileCtrl.findById", query = "SELECT g FROM GpeFileCtrl g WHERE g.id = :id") , @NamedQuery(name = "GpeFileCtrl.findByCreatedBy", query = "SELECT g FROM GpeFileCtrl g WHERE g.createdBy = :createdBy") , @NamedQuery(name = "GpeFileCtrl.findByCreationDate", query = "SELECT g FROM GpeFileCtrl g WHERE g.creationDate = :creationDate") , @NamedQuery(name = "GpeFileCtrl.findByLastUpdatedBy", query = "SELECT g FROM GpeFileCtrl g WHERE g.lastUpdatedBy = :lastUpdatedBy") , @NamedQuery(name = "GpeFileCtrl.findByLastUpdateDate", query = "SELECT g FROM GpeFileCtrl g WHERE g.lastUpdateDate = :lastUpdateDate") , @NamedQuery(name = "GpeFileCtrl.findByProcessName", query = "SELECT g FROM GpeFileCtrl g WHERE g.processName = :processName") , @NamedQuery(name = "GpeFileCtrl.findByName", query = "SELECT g FROM GpeFileCtrl g WHERE g.name = :name") , @NamedQuery(name = "GpeFileCtrl.findByPath", query = "SELECT g FROM GpeFileCtrl g WHERE g.path = :path") , @NamedQuery(name = "GpeFileCtrl.findByFlgStatus", query = "SELECT g FROM GpeFileCtrl g WHERE g.flgStatus = :flgStatus")}) public class GpeFileCtrl implements Serializable { @Serial private static final long serialVersionUID = 1L; @Id @Basic(optional = false) @NotNull @Column(name = "ID", nullable = false) private Integer id; @Basic(optional = false) @NotNull @Size(min = 1, max = 30) @Column(name = "CREATED_BY", nullable = false, length = 30) private String createdBy; @Basic(optional = false) @NotNull @Column(name = "CREATION_DATE", nullable = false) @Temporal(TemporalType.TIMESTAMP) private Date creationDate; @Basic(optional = false) @NotNull @Size(min = 1, max = 30) @Column(name = "LAST_UPDATED_BY", nullable = false, length = 30) private String lastUpdatedBy; @Basic(optional = false) @NotNull @Column(name = "LAST_UPDATE_DATE", nullable = false) @Temporal(TemporalType.TIMESTAMP) private Date lastUpdateDate; @Basic(optional = false) @NotNull @Size(min = 1, max = 30) @Column(name = "PRO_NAM", nullable = false, length = 30) private String processName; @Basic(optional = false) @NotNull @Size(min = 1, max = 30) @Column(name = "NAM", nullable = false, length = 30) private String name; @Basic(optional = false) @NotNull @Size(min = 1, max = 100) @Column(name = "PAT", nullable = false, length = 100) private String path; @Basic(optional = false) @NotNull @Size(min = 1, max = 5) @Column(name = "EXT", nullable = false, length = 5) private String extension; @Size(max = 1) @Column(name = "FLG_STA", nullable = false, length = 1) private String flgStatus; @Lob @Column(name = "RUL") private String rules; public GpeFileCtrl( Integer id, String createdBy, Date creationDate, String lastUpdatedBy, Date lastUpdateDate, String processName, String name, String path, String extension, String flgStatus, String rules) { this.id = id; this.createdBy = createdBy; this.creationDate = creationDate; this.lastUpdatedBy = lastUpdatedBy; this.lastUpdateDate = lastUpdateDate; this.processName = processName; this.name = name; this.path = path; this.extension = extension; this.flgStatus = flgStatus; this.rules = rules; } public GpeFileCtrl() { } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public Date getCreationDate() { return creationDate; } public void setCreationDate(Date creationDate) { this.creationDate = creationDate; } public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String lastUpdatedBy) { this.lastUpdatedBy = lastUpdatedBy; } public Date getLastUpdateDate() { return lastUpdateDate; } public void setLastUpdateDate(Date lastUpdateDate) { this.lastUpdateDate = lastUpdateDate; } public String getProcessName() { return processName; } public void setProcessName(String processName) { this.processName = processName; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public String getExtension() { return extension; } public void setExtension(String extension) { this.extension = extension; } public String getFlgStatus() { return flgStatus; } public void setFlgStatus(String flgStatus) { this.flgStatus = flgStatus; } public String getRules() { return rules; } public void setRules(String rules) { this.rules = rules; } }
Editor is loading...
Leave a Comment