Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.fofo;


import com.spice.profitmandi.dao.enumuration.trialFeedbackForm.*;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "fofo.trial_feedback_form")
public class TrialFeedbackForm {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private int id;

    @Enumerated(EnumType.STRING)
    @Column(name = "important_feature")
    private ImportantFeature importantFeature;

    @Enumerated(EnumType.STRING)
    @Column(name = "trial_clarity")
    private TrialClarity trialClarity;

    @Column(name = "stock_price_visibility")
    private int stockPriceVisibility;

    @Enumerated(EnumType.STRING)
    @Column(name = "top_selling_available")
    private TopModelAvailability topSellingAvailable;

    @Enumerated(EnumType.STRING)
    @Column(name = "dashboard_usage")
    private DashboardUsage dashboardUsage;

    @Enumerated(EnumType.STRING)
    @Column(name = "competitive_pricing")
    private CompetitivePricing competitivePricing;

    @Enumerated(EnumType.STRING)
    @Column(name = "support_team_communication")
    private SupportTeamCommunication supportTeamCommunication;

    @Enumerated(EnumType.STRING)
    @Column(name = "support_team_rating")
    private SupportTeamRating supportTeamRating;

    @Column(name = "suggestion")
    private String suggestion;

    @Column(name = "created_at")
    private LocalDateTime createdAt;

    public TrialFeedbackForm() {
    }

    public TrialFeedbackForm(int id, ImportantFeature importantFeature, TrialClarity trialClarity, int stockPriceVisibility, TopModelAvailability topSellingAvailable, DashboardUsage dashboardUsage, CompetitivePricing competitivePricing, SupportTeamCommunication supportTeamCommunication, SupportTeamRating supportTeamRating, String suggestion, LocalDateTime createdAt) {
        this.id = id;
        this.importantFeature = importantFeature;
        this.trialClarity = trialClarity;
        this.stockPriceVisibility = stockPriceVisibility;
        this.topSellingAvailable = topSellingAvailable;
        this.dashboardUsage = dashboardUsage;
        this.competitivePricing = competitivePricing;
        this.supportTeamCommunication = supportTeamCommunication;
        this.supportTeamRating = supportTeamRating;
        this.suggestion = suggestion;
        this.createdAt = createdAt;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public ImportantFeature getImportantFeature() {
        return importantFeature;
    }

    public void setImportantFeature(ImportantFeature importantFeature) {
        this.importantFeature = importantFeature;
    }

    public TrialClarity getTrialClarity() {
        return trialClarity;
    }

    public void setTrialClarity(TrialClarity trialClarity) {
        this.trialClarity = trialClarity;
    }

    public int getStockPriceVisibility() {
        return stockPriceVisibility;
    }

    public void setStockPriceVisibility(int stockPriceVisibility) {
        this.stockPriceVisibility = stockPriceVisibility;
    }

    public TopModelAvailability getTopSellingAvailable() {
        return topSellingAvailable;
    }

    public void setTopSellingAvailable(TopModelAvailability topSellingAvailable) {
        this.topSellingAvailable = topSellingAvailable;
    }

    public DashboardUsage getDashboardUsage() {
        return dashboardUsage;
    }

    public void setDashboardUsage(DashboardUsage dashboardUsage) {
        this.dashboardUsage = dashboardUsage;
    }

    public CompetitivePricing getCompetitivePricing() {
        return competitivePricing;
    }

    public void setCompetitivePricing(CompetitivePricing competitivePricing) {
        this.competitivePricing = competitivePricing;
    }

    public SupportTeamCommunication getSupportTeamCommunication() {
        return supportTeamCommunication;
    }

    public void setSupportTeamCommunication(SupportTeamCommunication supportTeamCommunication) {
        this.supportTeamCommunication = supportTeamCommunication;
    }

    public SupportTeamRating getSupportTeamRating() {
        return supportTeamRating;
    }

    public void setSupportTeamRating(SupportTeamRating supportTeamRating) {
        this.supportTeamRating = supportTeamRating;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "TrialFeedbackForm{" +
                "id=" + id +
                ", importantFeature=" + importantFeature +
                ", trialClarity=" + trialClarity +
                ", stockPriceVisibility=" + stockPriceVisibility +
                ", topSellingAvailable=" + topSellingAvailable +
                ", dashboardUsage=" + dashboardUsage +
                ", competitivePricing=" + competitivePricing +
                ", supportTeamCommunication=" + supportTeamCommunication +
                ", supportTeamRating=" + supportTeamRating +
                ", suggestion='" + suggestion + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
}