34 lines
845 B
Java
34 lines
845 B
Java
package zw.qantra.tm.domain.models;
|
|
|
|
import jakarta.persistence.Column;
|
|
import jakarta.persistence.Entity;
|
|
import lombok.*;
|
|
import org.hibernate.annotations.SQLRestriction;
|
|
|
|
|
|
@Entity
|
|
@Getter
|
|
@Setter
|
|
@Builder
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@SQLRestriction("deleted = false")
|
|
public class Provider extends BaseEntity {
|
|
private String clientId;
|
|
private String label;
|
|
private String name;
|
|
private String description;
|
|
private String externalId;
|
|
private String image;
|
|
private String category;
|
|
private String accountFieldName;
|
|
private String integrationProcessorLabel;
|
|
private String uid;
|
|
private Boolean requiresAmount;
|
|
private Boolean requiresPhone;
|
|
private Boolean requiresAccount;
|
|
private double percentageCommission;
|
|
@Column(columnDefinition = "TEXT")
|
|
private String meta;
|
|
}
|