NewsSentiment

@Entity
open class NewsSentiment : Identifiable

Constructors

Link copied to clipboard
constructor()
constructor(articleId: Long, title: String, publishedDate: LocalDateTime, source: String, url: String, positiveScore: Double, neutralScore: Double, negativeScore: Double, compositeScore: Double, cryptoRelevance: Double, lastUpdated: LocalDateTime)

Functions

Link copied to clipboard
Link copied to clipboard
open fun calculateWeightedScore(compositeScore: Double, cryptoRelevance: Double): Double
Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
open fun setId(id: Long)