Module Core, clss Product : update méthode equals(); ajout TODO

This commit is contained in:
Notmoo 2017-08-17 23:49:05 +02:00
parent 26e94d8078
commit 651f976601
1 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
//TODO faire en sorte que les composés reprennent les qté dispo des composants
/**
* Created by Notmoo on 18/07/2017.
*/
@ -123,6 +123,7 @@ public class Product implements ILoggable, Serializable{
return this.id == other.id
&& Objects.equals(this.name, other.name)
&& Objects.equals(this.components, other.components)
&& Objects.equals(this.category, other.category);
&& Objects.equals(this.category, other.category)
&& Objects.equals(this.price, other.price);
}
}