23 lines
585 B
C#
23 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using AutoMapper;
|
|
using LeafWeb.Core.Entities;
|
|
|
|
namespace LeafWeb.WebCms.Models
|
|
{
|
|
public class LeafInputDetails_Admin : LeafInputDetails
|
|
{
|
|
[Display(Name = "Time In Progress", Order = 2)]
|
|
public TimeSpan TimeInProgress { get; set; }
|
|
|
|
[UIHint("LeafInputStatusViewModels")]
|
|
[Display(Order = 2)]
|
|
public List<LeafInputStatusViewModel> StatusHistory { get; set; }
|
|
|
|
public LeafInputDetails_Admin(LeafInput leafInput)
|
|
{
|
|
Mapper.Map(leafInput, this);
|
|
}
|
|
}
|
|
} |