amezenin / encyclopedia-kn

0 stars 0 forks source link

Why did you create this entity? what do you mean by status? is it like and dislike? #2

Open vahid-forghani opened 2 years ago

vahid-forghani commented 2 years ago

https://github.com/amezenin/encyclopedia-kn/blob/c71915518d43bdb8942f420fb19acd7cd83ed6c5/src/main/java/com/knits/product/model/VoteArticle.java#L14

amezenin commented 2 years ago

https://github.com/amezenin/encyclopedia-kn/blob/c71915518d43bdb8942f420fb19acd7cd83ed6c5/src/main/java/com/knits/product/model/VoteArticle.java#L14

yes, I thought that a user can like and dislike a comment or a post separately. and perhaps additional information will be needed in the middle table - creation date, etc.

amezenin commented 2 years ago

fixed