import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';

part 'movie.g.dart';

abstract class Movie implements Built<Movie, MovieBuilder> {
  static Serializer<Movie> get serializer => _$movieSerializer;

  int get id;

  String get title;

  DateTime get release;

  bool get video;

  String get poster;

  String get backdrop;

  Movie._();

  factory Movie([void Function(MovieBuilder) updates]) = _$Movie;
}
