Skip to content

Commit

Permalink
Individual Accounts with Identity implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasNSBR committed Mar 15, 2018
1 parent c8fccb4 commit 9156704
Show file tree
Hide file tree
Showing 124 changed files with 2,505 additions and 310 deletions.
5 changes: 5 additions & 0 deletions RCM.Application/ViewModels/FornecedorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ public class FornecedorViewModel
[StringLength(100, MinimumLength = 10, ErrorMessage = "O campo nome deve ter entre 10 e 100 caracteres.")]
public string Nome { get; set; }

[Display(Name = "Observações")]
[StringLength(1000, MinimumLength = 10, ErrorMessage = "O campo nome deve ter entre 10 e 1000 caracteres.")]
public string Observacao { get; set; }

[Display(Name = "Duplicatas")]
public ICollection<DuplicataViewModel> Duplicatas { get; set; }

[Display(Name = "Notas Fiscais")]
public ICollection<NotaFiscalViewModel> NotasFiscais { get; set; }

}
}
4 changes: 2 additions & 2 deletions RCM.CrossCutting.Identity/Context/RCMIdentityDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

namespace RCM.CrossCutting.Identity.Context
{
public class RCMIdentityDbContext : IdentityDbContext<RCMIdentityUser, IdentityRole<int>, int>
public class RCMIdentityDbContext : IdentityDbContext<RCMIdentityUser, RCMIdentityRole, int>
{
public RCMIdentityDbContext(DbContextOptionsBuilder dbContextOptions)
public RCMIdentityDbContext()
{
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9156704

Please sign in to comment.