Class Product
java.lang.Object
es.kukenan.smartfi.microservice.contracts.repository.entity.Product
- All Implemented Interfaces:
Serializable
DAO for Product table in Database.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringcore product detail.private Stringcore product Id.private Stringcore product type Id.private Stringcore subsystem value.private booleanFlag that informs (if true) that this product uses a currency != €.private EbContracteb contract id.private Stringtype Id.Profiles of which the current product is part.private UserBackofficeusers id data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProfile(Profile profile) Add a profile to the profiles list.voiddeleteProfile(Profile profile) Delete a profile from the profiles list.
-
Field Details
-
id
type Id. -
userBackoffice
users id data. -
coreProductId
core product Id. -
coreSubsystem
core subsystem value. -
currency
private boolean currencyFlag that informs (if true) that this product uses a currency != €. -
coreProductTypeId
core product type Id. -
ebContract
eb contract id. -
coreProductDetail
core product detail. -
profiles
Profiles of which the current product is part.
-
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
addProfile
Add a profile to the profiles list.- Parameters:
profile- new profile.
-
deleteProfile
Delete a profile from the profiles list.- Parameters:
profile- profile to delete.
-