Commit 2671086 1 parent 4b38f8c commit 2671086 Copy full SHA for 2671086
File tree 3 files changed +20
-2
lines changed
TesteBackendEnContact.Api/Resources
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
using TesteBackendEnContact . Api . Resources . Company ;
2
+ using TesteBackendEnContact . Api . Resources . ContactBook ;
2
3
3
4
namespace TesteBackendEnContact . Api . Resources . Contact
4
5
{
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
2
using TesteBackendEnContact . Core . Models ;
3
3
4
- namespace TesteBackendEnContact . Api . Resources
4
+ namespace TesteBackendEnContact . Api . Resources . ContactBook
5
5
{
6
6
public class ContactBookResource
7
7
{
8
8
public int Id { get ; set ; }
9
9
public string Name { get ; set ; }
10
10
public string Description { get ; set ; }
11
- public int CompanyId { get ; set ; }
11
+ public int ? CompanyId { get ; set ; }
12
12
}
13
13
}
Original file line number Diff line number Diff line change
1
+ namespace TesteBackendEnContact . Api . Resources . ContactBook
2
+ {
3
+ public class SaveContactBookResource
4
+ {
5
+ public string Name { get ; set ; }
6
+ public string Description { get ; set ; }
7
+ public int ? CompanyId { get ; set ; }
8
+
9
+ public SaveContactBookResource ( ) { }
10
+ public SaveContactBookResource ( SaveContactBookResource saveContactBookResource )
11
+ {
12
+ Name = saveContactBookResource . Name ;
13
+ Description = saveContactBookResource . Description ;
14
+ CompanyId = saveContactBookResource . CompanyId ;
15
+ }
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments