-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexandre
authored and
Alexandre
committed
Apr 4, 2020
1 parent
59b8e2d
commit 373d55f
Showing
8 changed files
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
namespace UpSocial.UpGram.Domain.Entity | ||
using Dapper.Contrib.Extensions; | ||
|
||
namespace UpSocial.UpGram.Domain.Entity | ||
{ | ||
public abstract class BaseEntity | ||
{ | ||
[Key] | ||
public virtual int Id { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
namespace UpSocial.UpGram.Domain.Entity | ||
using Dapper.Contrib.Extensions; | ||
|
||
namespace UpSocial.UpGram.Domain.Entity | ||
{ | ||
[Table("Configuration")] | ||
public class ConfigurationEntity : BaseEntity | ||
{ | ||
public string UserName { get; set; } | ||
public string Password { get; set; } | ||
public int RequestDelay { get; set; } | ||
public int LogLevel { get; set; } | ||
public int PagingData { get; set; } = 100; | ||
public int PagingData { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace UpSocial.UpGram.Infra.CrossCutting | ||
{ | ||
public enum EnumAction | ||
{ | ||
Followers_Requesting = 0, | ||
Following_Removing = 1 | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
UpSocial.UpGram.Infra.CrossCutting/UpSocial.UpGram.Infra.CrossCutting.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.1</TargetFramework> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters