Skip to content

Commit

Permalink
Merge pull request #192 from kosukesaigusa/150_create_ugc
Browse files Browse the repository at this point in the history
#150 UGC(δΈι©εˆ‡γ€γƒ–γƒ­γƒƒγ‚―γƒ‰γ‚­γƒ₯γƒ‘γƒ³γƒˆ)δ½œζˆε‡¦η†
  • Loading branch information
RikitoNoto committed Sep 21, 2023
2 parents 74940eb + 302074b commit a92615d
Show file tree
Hide file tree
Showing 10 changed files with 1,036 additions and 153 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutterfire_gen_annotation/flutterfire_gen_annotation.dart';

part 'user_blocked_document.flutterfire_gen.dart';

@FirestoreDocument(
path: 'userBlockedDocuments/{userId}/jobs',
documentName: 'job',
)
class BlockedJob {
const BlockedJob({
this.createdAt,
});

@AlwaysUseFieldValueServerTimestampWhenCreating()
final DateTime? createdAt;
}

@FirestoreDocument(
path: 'userBlockedDocuments/{userId}/reviews',
documentName: 'review',
)
class BlockedReview {
const BlockedReview({
this.createdAt,
});

@AlwaysUseFieldValueServerTimestampWhenCreating()
final DateTime? createdAt;
}
Loading

0 comments on commit a92615d

Please sign in to comment.