Add purpose editing

This commit is contained in:
2013-03-07 19:28:00 -05:00
parent ff0b18a9fd
commit 8662b6ad7e
12 changed files with 236 additions and 2 deletions
+5
View File
@@ -1,12 +1,17 @@
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using MileageTraker.Web.Attributes;
namespace MileageTraker.Web.Models
{
public class PurposeType
{
[Key]
[HiddenInput(DisplayValue = false)]
public int PurposeTypeId { get; set; }
[Required]
public string Purpose { get; set; }
[InputSize("mini")]
public int SortOrder { get; set; }
}
}