23 lines
900 B
C#
23 lines
900 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Disco.Web.Areas.Config.Models.DeviceBatch
|
|
{
|
|
public class _IndexModelDeviceBatch
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
[Required(), DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
|
|
public DateTime PurchaseDate { get; set; }
|
|
public int DeviceCount { get; set; }
|
|
public int DeviceDecommissionedCount { get; set; }
|
|
public int? PurchaseUnitQuantity { get; set; }
|
|
public string DefaultDeviceModel { get; set; }
|
|
public DateTime? WarrantyExpires { get; set; }
|
|
public DateTime? InsuredUntil { get; set; }
|
|
public string InsuranceSupplier { get; set; }
|
|
}
|
|
} |