read only and tests
This commit is contained in:
@@ -4,23 +4,21 @@ using MongoDbGenericRepository.Models;
|
||||
|
||||
namespace CoreUnitTests.Infrastructure.Model;
|
||||
|
||||
|
||||
public class TestDocument : Document
|
||||
{
|
||||
public TestDocument()
|
||||
{
|
||||
Version = 2;
|
||||
Nested = new Nested
|
||||
{
|
||||
SomeDate = DateTime.UtcNow
|
||||
};
|
||||
Nested = new Nested {SomeDate = DateTime.UtcNow};
|
||||
Children = new List<Child>();
|
||||
}
|
||||
|
||||
public int SomeValue { get; set; }
|
||||
|
||||
public string SomeContent { get; set; }
|
||||
|
||||
public string SomeContent2 { get; set; }
|
||||
|
||||
public string SomeContent3 { get; set; }
|
||||
|
||||
public int GroupingKey { get; set; }
|
||||
@@ -29,4 +27,3 @@ public class TestDocument : Document
|
||||
|
||||
public List<Child> Children { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user