2025-08-20 07:31:56 +00:00
|
|
|
using System;
|
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
|
|
|
|
|
|
namespace Kurs.Platform.Entities;
|
|
|
|
|
|
|
|
|
|
public class Service : FullAuditedAggregateRoot<Guid>
|
|
|
|
|
{
|
|
|
|
|
public string? Icon { get; set; }
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public string? Description { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
2025-08-20 10:06:40 +00:00
|
|
|
// JSON olarak saklanacak
|
|
|
|
|
public string[] Features { get; set; } = [];
|
2025-08-20 07:31:56 +00:00
|
|
|
|
2025-08-20 10:06:40 +00:00
|
|
|
protected Service() { }
|
2025-08-20 07:31:56 +00:00
|
|
|
|
2025-08-20 10:06:40 +00:00
|
|
|
public Service(Guid id, string icon, string title, string description, string type, string[] features)
|
2025-08-20 07:31:56 +00:00
|
|
|
: base(id)
|
|
|
|
|
{
|
2025-08-20 10:06:40 +00:00
|
|
|
Icon = icon;
|
2025-08-20 07:31:56 +00:00
|
|
|
Title = title;
|
2025-08-20 10:06:40 +00:00
|
|
|
Description = description;
|
2025-08-20 07:31:56 +00:00
|
|
|
Type = type;
|
2025-08-20 10:06:40 +00:00
|
|
|
Features = features;
|
2025-08-20 07:31:56 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|