Sealed qualifying public classes Migrated database changes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace LiteCharms.Features.MidrandBooks.Authors.Entities;
|
||||
|
||||
[EntityTypeConfiguration<AuthorConfiguration, Author>]
|
||||
public class Author : Models.Author
|
||||
public sealed class Author : Models.Author
|
||||
{
|
||||
public ICollection<AuthorBook> Books { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace LiteCharms.Features.MidrandBooks.Authors.Entities;
|
||||
|
||||
public class AuthorConfiguration : IEntityTypeConfiguration<Author>
|
||||
public sealed class AuthorConfiguration : IEntityTypeConfiguration<Author>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<Author> builder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user