Added web module tests
This commit is contained in:
12
tests/HopFrame.Tests.Core/Models/MockModel.cs
Normal file
12
tests/HopFrame.Tests.Core/Models/MockModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace HopFrame.Tests.Core.Models;
|
||||
|
||||
// A mock model for testing purposes
|
||||
public class MockModel {
|
||||
public int Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[ForeignKey("other")]
|
||||
public List<MockModel2> Model2 { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user