Added two functions, MarshalData() and JsonData() to handle deserialization and serialization. (Special case with Setting)
9 lines
No EOL
196 B
C#
9 lines
No EOL
196 B
C#
namespace FreeTubeSyncer.Models.DatabaseModels;
|
|
|
|
public interface IDataModel
|
|
{
|
|
string Id();
|
|
bool EqualId(string oid);
|
|
void MarshalData(string id, string data);
|
|
string JsonData();
|
|
} |