29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
using BS.Shared.DataContracts.Compact;
|
|
using BS.Shared.Interface.Feature.AICore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.Shared.DataContracts.Feature.AI
|
|
{
|
|
public class AiPromptroutineDC : BeWoDataContract, IAiPromptroutine
|
|
{
|
|
[DataMember] public string Title { get; set; }
|
|
[DataMember] public string Description { get; set; }
|
|
[DataMember] public long? ParentFolderOid { get; set; }
|
|
[DataMember] public CompactEmployeeDC Creator { get; set; }
|
|
[DataMember] public bool IsPublic { get; set; }
|
|
[DataMember] public int Position { get; set; }
|
|
[DataMember] public bool IsFavorite { get; set; }
|
|
[DataMember] public AiActionType ActionType { get; set; }
|
|
|
|
[DataMember] public bool CanEdit { get; set; }
|
|
[DataMember] public List<AiPromptroutineStepDC> Steps { get; set; } = new List<AiPromptroutineStepDC> { };
|
|
|
|
List<IAiPromptroutineStep> IAiPromptroutine.Steps => this.Steps.Select(x => x as IAiPromptroutineStep).ToList();
|
|
}
|
|
}
|