-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb4a702
commit a71cde8
Showing
5 changed files
with
95 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace SoftwareTracker.Models | ||
{ | ||
public class LicenseModel | ||
{ | ||
public int Id { get; set; } | ||
public string Manufacturer { get; set; } | ||
|
||
[Display(Name = "Software Title")] | ||
[Required] | ||
public string SoftwareTitle { get; set; } | ||
|
||
[Display(Name = "Assigned To")] | ||
public string AssignedServer { get; set; } | ||
|
||
[Display(Name = "Purchase Order #")] | ||
public string PurchaseOrder { get; set; } | ||
|
||
[DisplayFormat(DataFormatString = "{0:dd MMM yyyy}")] | ||
[Display(Name = "Purchase Date")] | ||
[DataType(DataType.Date)] | ||
public DateTime PurchaseDate { get; set; } | ||
|
||
[Display(Name = "License Type")] | ||
public string LicenseType { get; set; } | ||
public bool Support { get; set; } | ||
[DisplayFormat(DataFormatString = "{0:dd MMM yyyy}")] | ||
|
||
[Display(Name = "Support Expiration")] | ||
[DataType(DataType.Date)] | ||
public DateTime SupportExp { get; set; } | ||
|
||
[Display(Name = "Total Keys")] | ||
[Required] | ||
public int AmountofKeys { get; set; } | ||
|
||
[Display(Name = "Used Keys")] | ||
[Required] | ||
public int UsedKeys { get; set; } | ||
|
||
[Display(Name = "Remaining Keys")] | ||
public int RemainingKeys { get; set; } | ||
|
||
[Display(Name = "License Key")] | ||
public string LicenseKey { get; set; } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.