Add project files.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Elsa.Common.Models;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Caspian.WorkflowFramework.Models
|
||||
{
|
||||
[PublicAPI]
|
||||
public class CreateAndExecuteWorkflowModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Workflow name
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Workflow version
|
||||
/// </summary>
|
||||
[Required]
|
||||
public VersionOptions Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current user's id
|
||||
/// </summary>
|
||||
[Required]
|
||||
public long? UserId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user