1 |
cab8a4a1
|
yoush97
|
using System;
|
2 |
|
|
using System.Collections.Generic;
|
3 |
|
|
using System.Linq;
|
4 |
|
|
using System.Text;
|
5 |
|
|
using System.Threading.Tasks;
|
6 |
|
|
|
7 |
|
|
using System.Runtime.Serialization;
|
8 |
|
|
|
9 |
|
|
namespace ID2.Manager.Data.Models
|
10 |
|
|
{
|
11 |
|
|
[DataContract]
|
12 |
|
|
public class ProjectInfo
|
13 |
|
|
{
|
14 |
|
|
[DataMember]
|
15 |
|
|
public string ProjectID { get; set; }
|
16 |
|
|
[DataMember]
|
17 |
|
|
public string Code { get; set; }
|
18 |
|
|
[DataMember]
|
19 |
|
|
public string Name { get; set; }
|
20 |
|
|
[DataMember]
|
21 |
8e373ccf
|
yoush97
|
public string Description { get; set; }
|
22 |
|
|
[DataMember]
|
23 |
|
|
public string ID2Path { get; set; }
|
24 |
|
|
[DataMember]
|
25 |
cab8a4a1
|
yoush97
|
public string GroupID { get; set; }
|
26 |
|
|
[DataMember]
|
27 |
|
|
public string GroupName { get; set; }
|
28 |
|
|
[DataMember]
|
29 |
a8981c30
|
yoush97
|
public string Team { get; set; }
|
30 |
|
|
[DataMember]
|
31 |
2cd9327e
|
yoush97
|
public int? Port { get; set; } = 2549;
|
32 |
|
|
[DataMember]
|
33 |
cab8a4a1
|
yoush97
|
public int Level { get; set; }
|
34 |
473ee829
|
yoush97
|
[DataMember]
|
35 |
|
|
public ID2ProjectInfo ID2Info = null;
|
36 |
cab8a4a1
|
yoush97
|
}
|
37 |
81d15568
|
yoush97
|
|
38 |
|
|
[DataContract]
|
39 |
|
|
public class ID2ProjectInfo
|
40 |
|
|
{
|
41 |
a23d0a0c
|
yoush97
|
public bool Checked { get; set; } = false;
|
42 |
|
|
[DataMember]
|
43 |
81d15568
|
yoush97
|
public int Id { get; set; }
|
44 |
|
|
[DataMember]
|
45 |
|
|
public string Name { get; set; }
|
46 |
|
|
[DataMember]
|
47 |
|
|
public string Desc { get; set; }
|
48 |
|
|
[DataMember]
|
49 |
|
|
public string Unit { get; set; }
|
50 |
|
|
[DataMember]
|
51 |
|
|
public string Path { get; set; }
|
52 |
|
|
[DataMember]
|
53 |
7f76e35a
|
yoush97
|
public string CreatedDate { get; set; }
|
54 |
81d15568
|
yoush97
|
[DataMember]
|
55 |
7f76e35a
|
yoush97
|
public string UpdatedDate { get; set; }
|
56 |
473ee829
|
yoush97
|
[DataMember]
|
57 |
|
|
public string DBTypeID { get; set; }
|
58 |
|
|
[DataMember]
|
59 |
|
|
public string DBTypeName { get; set; }
|
60 |
|
|
[DataMember]
|
61 |
|
|
public string Host { get; set; }
|
62 |
|
|
[DataMember]
|
63 |
|
|
public string User { get; set; }
|
64 |
|
|
[DataMember]
|
65 |
|
|
public string Password { get; set; }
|
66 |
|
|
[DataMember]
|
67 |
|
|
public string DBPath { get; set; }
|
68 |
a8981c30
|
yoush97
|
[DataMember]
|
69 |
|
|
public string Team { get; set; }
|
70 |
2cd9327e
|
yoush97
|
[DataMember]
|
71 |
|
|
public int? Port { get; set; } = 2549;
|
72 |
81d15568
|
yoush97
|
}
|
73 |
8e373ccf
|
yoush97
|
} |