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
{
///
/// Workflow name
///
[Required]
public string? Name { get; set; }
///
/// Workflow version
///
[Required]
public VersionOptions Version { get; set; }
///
/// Current user's id
///
[Required]
public long? UserId { get; set; }
}
}