22 lines
501 B
C#
22 lines
501 B
C#
8 years ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
||
|
namespace Yavsc.Models
|
||
|
{
|
||
7 years ago
|
using Yavsc;
|
||
8 years ago
|
|
||
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
|
|
||
7 years ago
|
[Required,Display(Name="Credits en €")]
|
||
8 years ago
|
public decimal Credits { get; set; }
|
||
|
|
||
|
public long ContactCredits { get; set; }
|
||
|
}
|
||
|
|
||
8 years ago
|
}
|