Skip to content

Instantly share code, notes, and snippets.

View raschmitt's full-sized avatar
💭
At the gym

Rogerio Schmitt raschmitt

💭
At the gym
  • BS2 Bank
  • Brazil
View GitHub Profile
public class Item
{
public Item(string name, double price)
{
Name = name;
Price = price;
PurchaseTime = DateTime.Now;
}
public string Name { get; protected set; }
@raschmitt
raschmitt / Order.cs
Last active May 10, 2020 19:44
Order
public class Order
{
public TimeSpan _purchaseSpanLimit = new TimeSpan(2, 0, 0);
public Guid Id { get; }
public List<Item> Items { get; }
public Order()
{
Id = Guid.NewGuid();
@raschmitt
raschmitt / nodejs.yml
Created February 8, 2020 21:10
End-to-end CI CodeceptJs
name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy: