using System;
using System.ComponentModel.DataAnnotations;

namespace Shride.Models
{
  public class Transaction
  {
    public Transaction() { }

    public int TransactionId { get; set; }

    [DataType(DataType.Currency)]
    public double Price { get; set; }

    public bool Paid { get; set; }

    public int RideId { get; set; }
    public Ride Ride { get; set; }

    public int AccountId { get; set; }
    public Account Account { get; set; }
  }
}
