1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00
comunicmobile/lib/models/like_element.dart

15 lines
225 B
Dart
Raw Normal View History

2020-04-15 17:17:29 +00:00
import 'package:comunic/enums/likes_type.dart';
2019-05-18 14:04:21 +00:00
/// Element that can be liked by the user
///
/// @author Pierre HUBERT
abstract class LikeElement {
2020-04-15 17:17:29 +00:00
LikesType get likeType;
2019-05-18 14:04:21 +00:00
int get id;
2020-04-15 17:17:29 +00:00
2019-05-18 14:04:21 +00:00
bool userLike;
int likes;
2020-04-15 17:17:29 +00:00
}