add DataModels project and translate erd
This commit is contained in:
parent
fb7802913b
commit
7fad6a59aa
@ -1,7 +0,0 @@
|
||||
namespace BankDataModels
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
7
Bank/BankDataModels/IId.cs
Normal file
7
Bank/BankDataModels/IId.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace BankDataModels
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
16
Bank/BankDataModels/Models/IAccountModel.cs
Normal file
16
Bank/BankDataModels/Models/IAccountModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IAccountModel : IId
|
||||
{
|
||||
string Number { get; set; }
|
||||
int Money { get; set; }
|
||||
DateOnly ReleaseDate { get; set; }
|
||||
int ManagerId { get; set; }
|
||||
}
|
||||
}
|
19
Bank/BankDataModels/Models/ICardModel.cs
Normal file
19
Bank/BankDataModels/Models/ICardModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface ICardModel : IId
|
||||
{
|
||||
string Number { get; set; }
|
||||
string Cvv { get; set; }
|
||||
string Pin { get; set; }
|
||||
DateOnly ReleaseDate { get; set; }
|
||||
DateOnly ExpirationDate { get; set; }
|
||||
int ClientId { get; set; }
|
||||
int? AccountId { get; set; }
|
||||
}
|
||||
}
|
15
Bank/BankDataModels/Models/IClientModel.cs
Normal file
15
Bank/BankDataModels/Models/IClientModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IClientModel : IId
|
||||
{
|
||||
string Fio { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
15
Bank/BankDataModels/Models/IManagerModel.cs
Normal file
15
Bank/BankDataModels/Models/IManagerModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IManagerModel : IId
|
||||
{
|
||||
string Fio { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
16
Bank/BankDataModels/Models/IOperationModel.cs
Normal file
16
Bank/BankDataModels/Models/IOperationModel.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IOperationModel
|
||||
{
|
||||
int sum { get; set; }
|
||||
DateTime OperationTime { get; set; }
|
||||
int SenderCardId { get; set; }
|
||||
int RecipientCardId { get; set; }
|
||||
}
|
||||
}
|
14
Bank/BankDataModels/Models/IRequestModel.cs
Normal file
14
Bank/BankDataModels/Models/IRequestModel.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IRequestModel : IId
|
||||
{
|
||||
int Sum { get; set; }
|
||||
DateTime RequestTime { get; set; }
|
||||
}
|
||||
}
|
17
Bank/BankDataModels/Models/ITransferModel.cs
Normal file
17
Bank/BankDataModels/Models/ITransferModel.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface ITransferModel
|
||||
{
|
||||
int Sum { get; set; }
|
||||
DateTime TransferTime { get; set; }
|
||||
int? OperationId { get; set; }
|
||||
int SenderAccountId { get; set; }
|
||||
int RecipientAccountId { get; set; }
|
||||
}
|
||||
}
|
14
Bank/BankDataModels/Models/IWithdrawalModel.cs
Normal file
14
Bank/BankDataModels/Models/IWithdrawalModel.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.Models
|
||||
{
|
||||
public interface IWithdrawalModel
|
||||
{
|
||||
DateTime WithdrawalTime { get; set; }
|
||||
int? RequestId { get; set; }
|
||||
}
|
||||
}
|
BIN
ERD/Bank.vpp
BIN
ERD/Bank.vpp
Binary file not shown.
BIN
ERD/Bank.vpp.bak_000f
Normal file
BIN
ERD/Bank.vpp.bak_000f
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_001d
Normal file
BIN
ERD/Bank.vpp.bak_001d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_002d
Normal file
BIN
ERD/Bank.vpp.bak_002d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_003d
Normal file
BIN
ERD/Bank.vpp.bak_003d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_004d
Normal file
BIN
ERD/Bank.vpp.bak_004d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_005d
Normal file
BIN
ERD/Bank.vpp.bak_005d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_006d
Normal file
BIN
ERD/Bank.vpp.bak_006d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_007d
Normal file
BIN
ERD/Bank.vpp.bak_007d
Normal file
Binary file not shown.
BIN
ERD/Bank.vpp.bak_008d
Normal file
BIN
ERD/Bank.vpp.bak_008d
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp
Normal file
BIN
ERD/Bank_english.vpp
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp.bak_000f
Normal file
BIN
ERD/Bank_english.vpp.bak_000f
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp.bak_001d
Normal file
BIN
ERD/Bank_english.vpp.bak_001d
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp.bak_002d
Normal file
BIN
ERD/Bank_english.vpp.bak_002d
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp.bak_003d
Normal file
BIN
ERD/Bank_english.vpp.bak_003d
Normal file
Binary file not shown.
BIN
ERD/Bank_english.vpp.bak_004d
Normal file
BIN
ERD/Bank_english.vpp.bak_004d
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user