Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.fofo;import com.spice.profitmandi.dao.enumuration.fofo.StoreClosureReason;import javax.persistence.*;import java.time.LocalDateTime;@Entity@Table(name = "fofo.store_closure")public class StoreClosure {@Id@Column(name = "id")@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "fofo_id")private int fofoId;@Enumerated(EnumType.STRING)@Column(name = "reason")private StoreClosureReason reason;@Column(name = "remark")private String remark;@Column(name = "approval_document_id")private int approvalDocumentId;@Column(name = "closed_by")private String closedBy;@Column(name = "create_timestamp")private LocalDateTime createTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public StoreClosureReason getReason() {return reason;}public void setReason(StoreClosureReason reason) {this.reason = reason;}public String getRemark() {return remark;}public void setRemark(String remark) {this.remark = remark;}public int getApprovalDocumentId() {return approvalDocumentId;}public void setApprovalDocumentId(int approvalDocumentId) {this.approvalDocumentId = approvalDocumentId;}public String getClosedBy() {return closedBy;}public void setClosedBy(String closedBy) {this.closedBy = closedBy;}public LocalDateTime getCreateTimestamp() {return createTimestamp;}public void setCreateTimestamp(LocalDateTime createTimestamp) {this.createTimestamp = createTimestamp;}@Overridepublic String toString() {return "StoreClosure [id=" + id + ", fofoId=" + fofoId + ", reason=" + reason + ", remark=" + remark+ ", approvalDocumentId=" + approvalDocumentId + ", closedBy=" + closedBy + ", createTimestamp="+ createTimestamp + "]";}}