29 lines
695 B
C#
29 lines
695 B
C#
|
using Learun.Application.OA;
|
|||
|
using System.Data.Entity.ModelConfiguration;
|
|||
|
|
|||
|
namespace Learun.Application.Mapping
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
|
|||
|
/// Copyright (c) 2013-2018 Hexagon PPM
|
|||
|
/// 创建人:研发部
|
|||
|
/// 日 期:2017.04.17
|
|||
|
/// 描 述:新闻公告
|
|||
|
/// </summary>
|
|||
|
public class NewsMap : EntityTypeConfiguration<NewsEntity>
|
|||
|
{
|
|||
|
public NewsMap()
|
|||
|
{
|
|||
|
#region 表、主键
|
|||
|
//表
|
|||
|
this.ToTable("LR_OA_NEWS");
|
|||
|
//主键
|
|||
|
this.HasKey(t => t.F_NewsId);
|
|||
|
#endregion
|
|||
|
|
|||
|
#region 配置关系
|
|||
|
#endregion
|
|||
|
}
|
|||
|
}
|
|||
|
}
|