Rev 21552 | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity;import java.time.LocalDateTime;import javax.persistence.Entity;import javax.persistence.EnumType;import javax.persistence.Enumerated;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;import in.shop2020.model.v1.order.WalletReferenceType;@Entity@Table(name="transaction.userwallethistory",schema="transaction")public class UserWalletHistory{/****/@Id@GeneratedValue(strategy=GenerationType.IDENTITY)private int id;private int amount;private int refundable_amount;private int wallet_id;private int reference;@Enumerated(EnumType.STRING)private WalletReferenceType reference_type;@Enumerated(EnumType.STRING)private WalletReferenceType sub_reference_type;private String description;private LocalDateTime timestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getAmount() {return amount;}public void setAmount(int amount) {this.amount = amount;}public int getRefundable_amount() {return refundable_amount;}public void setRefundable_amount(int refundable_amount) {this.refundable_amount = refundable_amount;}public int getWallet_id() {return wallet_id;}public void setWallet_id(int wallet_id) {this.wallet_id = wallet_id;}public int getReference() {return reference;}public void setReference(int reference) {this.reference = reference;}public WalletReferenceType getReference_type() {return reference_type;}public void setReference_type(WalletReferenceType reference_type) {this.reference_type = reference_type;}public WalletReferenceType getSub_reference_type() {return sub_reference_type;}public void setSub_reference_type(WalletReferenceType sub_reference_type) {this.sub_reference_type = sub_reference_type;}public String getDescription() {return description;}public void setDescription(String description) {this.description = description;}public LocalDateTime getTimestamp() {return timestamp;}public void setTimestamp(LocalDateTime timestamp) {this.timestamp = timestamp;}@Overridepublic String toString() {return "UserWalletHistory [id=" + id + ", amount=" + amount + ", refundable_amount=" + refundable_amount+ ", wallet_id=" + wallet_id + ", reference=" + reference + ", reference_type=" + reference_type+ ", sub_reference_type=" + sub_reference_type + ", description=" + description + ", timestamp="+ timestamp + "]";}}