19 lines
396 B
C#
19 lines
396 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Web.Mvc;
|
|
using Heroic.AutoMapper;
|
|
using InventoryTraker.Web.Core;
|
|
|
|
namespace InventoryTraker.Web.Models
|
|
{
|
|
public class AddRiskForm : IMapTo<Risk>
|
|
{
|
|
[HiddenInput]
|
|
public int CustomerId { get; set; }
|
|
|
|
[Required]
|
|
public string Title { get; set; }
|
|
|
|
[DataType(DataType.MultilineText)]
|
|
public string Description { get; set; }
|
|
}
|
|
} |