Snaparazzi/Assets/Scripts/DatabaseClasses/Prompt.cs

23 lines
462 B
C#
Raw Normal View History

2024-01-27 09:19:32 +00:00
using System.Collections;
using System.Collections.Generic;
2024-01-27 11:24:47 +00:00
using Firebase.Firestore;
2024-01-27 09:19:32 +00:00
using UnityEngine;
2024-01-27 11:24:47 +00:00
[System.Serializable, FirestoreData]
2024-01-27 18:54:06 +00:00
[Newtonsoft.Json.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
}