package com.hpay.hpay_mobile_api.entities;

import jakarta.persistence.*;

@Entity
@Table(name = "devise_conv", schema = "hpaytest_devhpaycash1")
public class DeviseConv {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "iddevise_conv", nullable = false)
    protected Integer id;

    @Column(name = "devise_from", nullable = false, length = 9)
    protected String deviseFrom;

    @Column(name = "devise_to", nullable = false, length = 9)
    protected String deviseTo;

    @Column(name = "taux", nullable = false)
    protected Float taux;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviseFrom() {
        return deviseFrom;
    }

    public void setDeviseFrom(String deviseFrom) {
        this.deviseFrom = deviseFrom;
    }

    public String getDeviseTo() {
        return deviseTo;
    }

    public void setDeviseTo(String deviseTo) {
        this.deviseTo = deviseTo;
    }

    public Float getTaux() {
        return taux;
    }

    public void setTaux(Float taux) {
        this.taux = taux;
    }

}