model and Dto
This commit is contained in:
30
Hushian.Domain/Entites/ExperGroup.cs
Normal file
30
Hushian.Domain/Entites/ExperGroup.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Hushian.Domain.Abstracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hushian.Domain.Entites
|
||||
{
|
||||
public class ExperGroup
|
||||
{
|
||||
#region Key
|
||||
public int ExperID { get; set; }
|
||||
public int GroupID { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Fild
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
#endregion
|
||||
|
||||
#region Navigation
|
||||
[ForeignKey("ExperID")]
|
||||
public Exper Exper { get; set; }
|
||||
[ForeignKey("GroupID")]
|
||||
public Group Group { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user