Add purpose editing
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user