Update: Additional UI Extension Hooks

This commit is contained in:
Gary Sharp
2013-04-30 12:35:27 +10:00
parent 849736d42e
commit b17ed91fb0
84 changed files with 810 additions and 137 deletions
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.UI.Config.DeviceBatch
{
public interface ConfigDeviceBatchIndexModelItem
{
int Id { get; set; }
string Name { get; set; }
[Required(), DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
DateTime PurchaseDate { get; set; }
int DeviceCount { get; set; }
int DeviceDecommissionedCount { get; set; }
int? PurchaseUnitQuantity { get; set; }
string DefaultDeviceModel { get; set; }
DateTime? WarrantyExpires { get; set; }
DateTime? InsuredUntil { get; set; }
string InsuranceSupplier { get; set; }
}
}