mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-04 16:49:36 +00:00
22 lines
505 B
C#
22 lines
505 B
C#
using MongoDB.Bson;
|
|
using ShoppingAssistantApi.Domain.Common;
|
|
|
|
namespace ShoppingAssistantApi.Domain.Entities;
|
|
|
|
public class Product : EntityBase
|
|
{
|
|
public required string Url { get; set; }
|
|
|
|
public required string Name { get; set; }
|
|
|
|
public required string Description { get; set; }
|
|
|
|
public required double Rating { get; set; }
|
|
|
|
public required string[] ImagesUrls { get; set; }
|
|
|
|
public required bool WasOpened { get; set; }
|
|
|
|
public required ObjectId WishlistId { get; set; }
|
|
}
|