2016-05-17 18:22:18 +02:00
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
2017-01-19 12:59:49 +01:00
|
|
|
|
namespace Yavsc.Models.Relationship
|
2016-05-17 18:22:18 +02:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public partial class CircleMember
|
|
|
|
|
|
{
|
2017-01-22 18:32:49 +01:00
|
|
|
|
|
2016-05-17 18:22:18 +02:00
|
|
|
|
[Required]
|
2017-01-22 18:32:49 +01:00
|
|
|
|
public long CircleId { get; set; }
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
2017-01-22 18:32:49 +01:00
|
|
|
|
[ForeignKey("CircleId")]
|
|
|
|
|
|
public virtual Circle Circle { get; set; }
|
2016-05-17 18:22:18 +02:00
|
|
|
|
[Required]
|
2017-01-22 18:32:49 +01:00
|
|
|
|
public string MemberId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[ForeignKey("MemberId")]
|
2016-05-17 18:22:18 +02:00
|
|
|
|
public virtual ApplicationUser Member { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|