Translation and fix for editing project task
[wsti_pai.git] / Projects / Models / Metadata.cs
1 using System;
2 using System.ComponentModel.DataAnnotations;
3
4 namespace Projects.Models
5 {
6     public class ProjectMetadata
7     {
8         [StringLength(50)]
9         [Display(Name = "Nazwa")]
10         public string name;
11
12         [Display(Name = "Opis")]
13         public string description;
14
15         [Display(Name = "Data utworzenia")]
16         public Nullable<System.DateTime> created_at;
17
18         [Display(Name = "Data edycji")]
19         public Nullable<System.DateTime> updated_at;
20
21         [Display(Name = "Właściciel projektu")]
22         public Nullable<int> user_id;
23     }
24
25     public class ProjectTaskMetadata
26     {
27         [StringLength(50)]
28         [Display(Name = "Nazwa")]
29         public string name;
30
31         [Display(Name = "Opis")]
32         public string description;
33
34         [Display(Name = "Data utworzenia")]
35         public Nullable<System.DateTime> created_at;
36
37         [Display(Name = "Data edycji")]
38         public Nullable<System.DateTime> updated_at;
39
40         [Display(Name = "Właściciel zadania")]
41         public Nullable<int> user_id;
42     }
43
44     public class UserMetadata
45     {
46         [Display(Name = "Nazwa użytkownika")]
47         public string login;
48
49         [Display(Name = "Hasło")]
50         public string password;
51     }
52
53     public class TaskStatusMetadata
54     {
55         [Display(Name = "Status")]
56         public string status;
57     }
58
59
60 }