WIP Chat PV
This commit is contained in:
parent
48ae3462d3
commit
c07b8cfd65
2 changed files with 5 additions and 2 deletions
|
|
@ -181,6 +181,6 @@ namespace Yavsc.Models
|
||||||
|
|
||||||
public DbSet<EstimateTemplate> EstimateTemplates { get; set; }
|
public DbSet<EstimateTemplate> EstimateTemplates { get; set; }
|
||||||
|
|
||||||
|
public DbSet<Contact> Contacts { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,10 @@ namespace Yavsc.Models
|
||||||
[Required()]
|
[Required()]
|
||||||
public string OwnerId { get; set; }
|
public string OwnerId { get; set; }
|
||||||
|
|
||||||
[ForeignKeyAttribute("OwnerId"),JsonIgnore]
|
[ForeignKeyAttribute("OwnerId"),NotMapped]
|
||||||
public virtual ApplicationUser Owner { get; set; }
|
public virtual ApplicationUser Owner { get; set; }
|
||||||
|
|
||||||
|
[ForeignKeyAttribute("UserId"),NotMapped]
|
||||||
|
public virtual ApplicationUser User { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue