model and Dto
This commit is contained in:
29
Hushian.Domain/Entites/CompanyContentInfo.cs
Normal file
29
Hushian.Domain/Entites/CompanyContentInfo.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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 CompanyContentInfo : BaseEntity
|
||||
{
|
||||
#region Key
|
||||
public int ID { get; set; }
|
||||
public int CompanyID { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Fild
|
||||
public string Content { get; set; }
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
#endregion
|
||||
|
||||
#region Navigation
|
||||
[ForeignKey("CompanyID")]
|
||||
public Company company { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user