83f51c6a23
Added shopping cart and items Added quotes Refactored relatinoships Migrated changes Refactored cqrs commands and queries Refactored mappings
16 lines
435 B
C#
16 lines
435 B
C#
using LiteCharms.Entities.Configuration;
|
|
|
|
namespace LiteCharms.Entities;
|
|
|
|
[EntityTypeConfiguration<CustomerConfiguration, Customer>]
|
|
public class Customer : Models.Customer
|
|
{
|
|
public virtual ICollection<Lead>? Leads { get; set; }
|
|
|
|
public virtual ICollection<Order>? Orders { get; set; }
|
|
|
|
public virtual ICollection<Quote>? Quotes { get; set; }
|
|
|
|
public virtual ICollection<ShoppingCart>? ShoppingCarts { get; set; }
|
|
}
|