-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New - Ajout d'une page de gestion des comptes bancaire des producteurs
- Loading branch information
1 parent
78ca3d2
commit dc7d954
Showing
15 changed files
with
427 additions
and
15 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
Sheaft.Application.Commands/Bank/UpdateBankAccountCommand.cs
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,22 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
using Sheaft.Core; | ||
using Sheaft.Application.Models; | ||
|
||
namespace Sheaft.Application.Commands | ||
{ | ||
public class UpdateBankAccountCommand : Command<bool> | ||
{ | ||
[JsonConstructor] | ||
public UpdateBankAccountCommand(RequestUser requestUser) : base(requestUser) | ||
{ | ||
} | ||
|
||
public Guid Id { get; set; } | ||
public string Name { get; set; } | ||
public string Owner { get; set; } | ||
public string BIC { get; set; } | ||
public string IBAN { get; set; } | ||
public AddressInput Address { 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
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
19 changes: 19 additions & 0 deletions
19
Sheaft.Application.Models/ViewModels/BankAccountViewModel.cs
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,19 @@ | ||
using Sheaft.Domain.Enums; | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Sheaft.Application.Models | ||
{ | ||
public class BankAccountViewModel | ||
{ | ||
public Guid Id { get; set; } | ||
public string Identifier { get; set; } | ||
public bool IsActive { get; set; } | ||
public string IBAN { get; set; } | ||
public string BIC { get; set; } | ||
public string Owner { get; set; } | ||
public string Name { get; set; } | ||
public AddressViewModel Address { get; set; } | ||
public Guid OwnerId { 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
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
Oops, something went wrong.