1
|
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
|
public string Description { get; set; }
|
22
|
[DataMember]
|
23
|
public string ID2Path { get; set; }
|
24
|
[DataMember]
|
25
|
public string GroupID { get; set; }
|
26
|
[DataMember]
|
27
|
public string GroupName { get; set; }
|
28
|
[DataMember]
|
29
|
public string Team { get; set; }
|
30
|
[DataMember]
|
31
|
public int? Port { get; set; } = 2549;
|
32
|
[DataMember]
|
33
|
public int Level { get; set; }
|
34
|
[DataMember]
|
35
|
public ID2ProjectInfo ID2Info = null;
|
36
|
}
|
37
|
|
38
|
[DataContract]
|
39
|
public class ID2ProjectInfo
|
40
|
{
|
41
|
public bool Checked { get; set; } = false;
|
42
|
[DataMember]
|
43
|
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
|
public string CreatedDate { get; set; }
|
54
|
[DataMember]
|
55
|
public string UpdatedDate { get; set; }
|
56
|
[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
|
[DataMember]
|
69
|
public string Team { get; set; }
|
70
|
[DataMember]
|
71
|
public int? Port { get; set; } = 2549;
|
72
|
}
|
73
|
}
|