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