38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System;
|
|
|
|
namespace Brizco.Domain.Entities.Task;
|
|
|
|
public partial class Activity : Task
|
|
{
|
|
|
|
public Activity()
|
|
{
|
|
|
|
}
|
|
|
|
public Activity(
|
|
ActivityStatus status,
|
|
DateTime doneAt,
|
|
string performanceDescription,
|
|
TaskType type,
|
|
bool isRelatedToRole,
|
|
bool isRelatedToPerson,
|
|
bool isDisposable,
|
|
DateTime setFor,
|
|
bool hasDisposed,
|
|
int amount,
|
|
PurchaseAmountType amountType,
|
|
string title,
|
|
string description,
|
|
Guid complexId) : base(
|
|
type,isRelatedToRole, isRelatedToPerson, isDisposable, setFor, hasDisposed, amount, amountType, title, description, complexId)
|
|
{
|
|
Status = status;
|
|
DoneAt = doneAt;
|
|
PerformanceDescription = performanceDescription;
|
|
}
|
|
public ActivityStatus Status { get; internal set; }
|
|
public DateTime DoneAt { get; internal set; }
|
|
public bool IsDone { get; internal set; }
|
|
public string PerformanceDescription { get; internal set; } = string.Empty;
|
|
} |