2016-05-17 18:22:18 +02:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2016-07-29 13:37:46 +02:00
|
|
|
using Yavsc.Interfaces;
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
|
|
|
namespace Yavsc.Models
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
2016-07-20 13:52:38 +02:00
|
|
|
public partial class AccountBalance: IAccountBalance {
|
2016-05-17 18:22:18 +02:00
|
|
|
[Key]
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
[ForeignKey("UserId")]
|
2016-07-27 10:55:44 +02:00
|
|
|
public virtual ApplicationUser Owner { get; set; }
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
|
|
|
[Required,Display(Name="Credits in €")]
|
|
|
|
|
public decimal Credits { get; set; }
|
|
|
|
|
|
|
|
|
|
public long ContactCredits { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|