22 lines
510 B
C#
22 lines
510 B
C#
8 years ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
8 years ago
|
using Yavsc.Interfaces;
|
||
8 years ago
|
|
||
|
namespace Yavsc.Models
|
||
|
{
|
||
|
|
||
|
|
||
8 years ago
|
public partial class AccountBalance: IAccountBalance {
|
||
8 years ago
|
[Key]
|
||
|
public string UserId { get; set; }
|
||
|
|
||
|
[ForeignKey("UserId")]
|
||
8 years ago
|
public virtual ApplicationUser Owner { get; set; }
|
||
8 years ago
|
|
||
|
[Required,Display(Name="Credits in €")]
|
||
|
public decimal Credits { get; set; }
|
||
|
|
||
|
public long ContactCredits { get; set; }
|
||
|
}
|
||
|
|
||
|
}
|