before deleting Rules
This commit is contained in:
16
CouchDB/CouchDocument.cs
Normal file
16
CouchDB/CouchDocument.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace CouchDB
|
||||
{
|
||||
public class CouchDocument<T>
|
||||
{
|
||||
public readonly string _id;
|
||||
public readonly string type;
|
||||
public readonly T model;
|
||||
|
||||
public CouchDocument(string id, T model)
|
||||
{
|
||||
_id = id;
|
||||
this.model = model;
|
||||
type = nameof(T);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user