Skip to content
Extraits de code Groupes Projets
Valider c65c1951 rédigé par Mohamed Lemine BAILLAHI's avatar Mohamed Lemine BAILLAHI
Parcourir les fichiers

Merge branch 'feature/MLC-275' into 'develop'

Add new entity

See merge request !34
parents f7036aee c0ea5797
Branches
Étiquettes
1 requête de fusion!34Add new entity
Pipeline #21598 réussi avec les étapes
in 3 minutes et 56 secondes
## [0.0.33-RELEASE]
### Added
- New features that have been added.
- add new entity .
### Changed
- Changes in existing functionality.
......
package com.marketingconfort.mobiloca.common.Document.models;
import com.marketingconfort.mobiloca.common.Document.enums.DocumentCategory;
import jakarta.persistence.*;
import lombok.*;
import lombok.experimental.SuperBuilder;
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@DiscriminatorValue("AGENCY")
@SuperBuilder
public class AgencyDocument extends Document {
@Column(name = "agency_id")
private Long agencyId;
@Enumerated(EnumType.STRING)
private DocumentCategory category;
}
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter