51 lines
964 B
Java
51 lines
964 B
Java
/*
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
|
*/
|
|
package com.mycompany.bibliotheque;
|
|
|
|
/**
|
|
*
|
|
* @author dthev
|
|
*/
|
|
|
|
public class Livre {
|
|
private String titre;
|
|
private String auteur;
|
|
private String isbn; // ISBN sous forme de chaîne
|
|
|
|
public Livre(String titre, String auteur, String isbn) {
|
|
this.titre = titre;
|
|
this.auteur = auteur;
|
|
this.isbn = isbn;
|
|
}
|
|
|
|
public String getTitre() {
|
|
return titre;
|
|
}
|
|
|
|
public void setTitre(String titre) {
|
|
this.titre = titre;
|
|
}
|
|
|
|
public String getAuteur() {
|
|
return auteur;
|
|
}
|
|
|
|
public void setAuteur(String auteur) {
|
|
this.auteur = auteur;
|
|
}
|
|
|
|
public String getIsbn() {
|
|
return isbn;
|
|
}
|
|
|
|
public void setIsbn(String isbn) {
|
|
this.isbn = isbn;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|