The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VaultViewModel.cs 872B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Teknik.Areas.Vault.Models;
  6. using Teknik.ViewModels;
  7. namespace Teknik.Areas.Vault.ViewModels
  8. {
  9. public class VaultViewModel : ViewModelBase
  10. {
  11. public string Url { get; set; }
  12. public int? UserId { get; set; }
  13. public Users.Models.User User { get; set; }
  14. public string Title { get; set; }
  15. public string Description { get; set; }
  16. public DateTime DateCreated { get; set; }
  17. public DateTime DateEdited { get; set; }
  18. public List<VaultItem> Items { get; set; }
  19. public VaultViewModel()
  20. {
  21. Title = string.Empty;
  22. Description = string.Empty;
  23. DateCreated = DateTime.Now;
  24. DateEdited = DateTime.Now;
  25. Items = new List<VaultItem>();
  26. }
  27. }
  28. }