49 lines
1.2 KiB
C#
49 lines
1.2 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 isRelatedToShift,
|
|
bool isRelatedToRole,
|
|
bool isRelatedToPerson,
|
|
bool isDisposable,
|
|
DateTime setFor,
|
|
bool hasDisposed,
|
|
int amount,
|
|
PurchaseAmountType amountType,
|
|
string title,
|
|
string description,
|
|
Guid complexId) : base(type,
|
|
isRelatedToShift,
|
|
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;
|
|
} |