//------------------------------------------------------------------------------
//
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
//
//------------------------------------------------------------------------------
using System.Collections.Generic;
using Infrastructure;
using OpenAuth.Domain;
namespace OpenAuth.App.ViewModel
{
///
///
///
public class CommonApplyVM :Entity
{
///
///
///
public int Sort { get; set; }
///
///
///
public int Number { get; set; }
///
///
///
public string Name { get; set; }
///
///
///
public string Comment { get; set; }
///
///
///
public string State { get; set; }
///
///
///
public string StateName { get; set; }
///
///
///
public System.Guid UserId { get; set; }
///
///
///
public System.Guid? ControllerUserId { get; set; }
public string WorkflowName { get; set; }
///
/// 可用命令
///
public CommandModel[] Commands { get; set; }
public Dictionary AvailiableStates { get; set; }
public static implicit operator CommonApplyVM(CommonApply obj)
{
return obj.MapTo();
}
public static implicit operator CommonApply(CommonApplyVM obj)
{
return obj.MapTo();
}
}
}