Snaparazzi/Assets/Scripts/DatabaseClasses/Prompt.cs

23 lines
416 B
C#
Raw Normal View History

2024-01-27 11:24:47 +00:00
using Firebase.Firestore;
2024-01-27 19:05:24 +00:00
using Newtonsoft.Json;
2024-01-27 18:58:02 +00:00
using System;
2024-01-27 09:19:32 +00:00
using UnityEngine;
2024-01-27 18:58:02 +00:00
[Serializable, FirestoreData]
2024-01-27 19:05:24 +00:00
[JsonObject]
2024-01-27 09:19:32 +00:00
public class Prompt
{
2024-01-27 11:24:47 +00:00
[field: SerializeField]
[FirestoreDocumentId]
public string id { get; set; }
[field: SerializeField]
[FirestoreProperty]
public string fr { get; set; }
[field: SerializeField]
[FirestoreProperty]
public string en { get; set; }
2024-01-27 09:19:32 +00:00
}