package com.example.csbananasite.model;


import jakarta.persistence.*;

@Entity
public class Payment {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(length = 25500)
    private String username;

    @Column(length = 25500)
    private String userskin;

    private double cena;

    private String merch;

    private String adressmoney;

    private String comment;

    public Long getId() {
        return id;
    }

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

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserskin() {
        return userskin;
    }

    public void setUserskin(String userskin) {
        this.userskin = userskin;
    }

    public double getCena() {
        return cena;
    }

    public void setCena(double cena) {
        this.cena = cena;
    }

    public String getMerch() {
        return merch;
    }

    public void setMerch(String merch) {
        this.merch = merch;
    }

    public String getAdressmoney() {
        return adressmoney;
    }

    public void setAdressmoney(String adressmoney) {
        this.adressmoney = adressmoney;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Payment() {
    }

    public Payment(String username, String userskin, double cena, String merch, String adressmoney, String comment) {
        this.username = username;
        this.userskin = userskin;
        this.cena = cena;
        this.merch = merch;
        this.adressmoney = adressmoney;
        this.comment = comment;
    }
}
