2 using System.ComponentModel.DataAnnotations;
4 namespace Projects.Models
6 public class ProjectMetadata
9 [Display(Name = "Nazwa")]
12 [Display(Name = "Opis")]
13 public string description;
15 [Display(Name = "Data utworzenia")]
16 public Nullable<System.DateTime> created_at;
18 [Display(Name = "Data edycji")]
19 public Nullable<System.DateTime> updated_at;
21 [Display(Name = "Właściciel projektu")]
22 public Nullable<int> user_id;
25 public class ProjectTaskMetadata
28 [Display(Name = "Nazwa")]
31 [Display(Name = "Opis")]
32 public string description;
34 [Display(Name = "Data utworzenia")]
35 public Nullable<System.DateTime> created_at;
37 [Display(Name = "Data edycji")]
38 public Nullable<System.DateTime> updated_at;
40 [Display(Name = "Właściciel zadania")]
41 public Nullable<int> user_id;
44 public class UserMetadata
46 [Display(Name = "Nazwa użytkownika")]
49 [Display(Name = "Hasło")]
50 public string password;
53 public class TaskStatusMetadata
55 [Display(Name = "Status")]