erp-platform/api/src/Kurs.Platform.Domain/Entities/Service.cs

30 lines
717 B
C#
Raw Normal View History

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; }
// JSON olarak saklanacak
public string[] Features { get; set; } = [];
2025-08-20 07:31:56 +00:00
protected Service() { }
2025-08-20 07:31:56 +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)
{
Icon = icon;
2025-08-20 07:31:56 +00:00
Title = title;
Description = description;
2025-08-20 07:31:56 +00:00
Type = type;
Features = features;
2025-08-20 07:31:56 +00:00
}
}