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.

Vault.cs 921B

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