Archived
Private
Public Access
1
0

Initial commit

This commit is contained in:
2022-09-04 12:45:01 +02:00
commit f4a01d6a69
11601 changed files with 4206660 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System;
namespace WebApplication.Modules {
public class Customer : CustomerEditor {
public string Guid { get; set; }
public DateTime CreationDate { get; set; }
}
public class CustomerEditor {
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public float Balance { get; set; }
public void EditCustomer(Customer customer) {
customer.FirstName = FirstName;
customer.LastName = LastName;
customer.Email = Email;
customer.Username = Username;
customer.Password = Password;
customer.Balance = Balance;
}
}
public class CustomerLogin {
public string Email { get; set; }
public string Password { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
using System;
namespace WebApplication.Modules {
public class Session {
public string Guid { get; set; }
public string CustomerId { get; set; }
public DateTime CreationDate { get; set; }
}
}