22 lines
267 BLFS
C#
Executable File
22 lines
267 BLFS
C#
Executable File
using System;
|
|
|
|
namespace Models
|
|
{
|
|
[Serializable]
|
|
public class Todo
|
|
{
|
|
public int id;
|
|
|
|
public int userId;
|
|
|
|
public string title;
|
|
|
|
public bool completed;
|
|
|
|
public override string ToString(){
|
|
return UnityEngine.JsonUtility.ToJson (this, true);
|
|
}
|
|
}
|
|
}
|
|
|