You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ScheduleMap.cs 791 B

4 years ago
1234567891011121314151617181920212223242526272829
  1. using Learun.Application.OA;
  2. using Learun.Application.OA.Schedule;
  3. using System.Data.Entity.ModelConfiguration;
  4. namespace Learun.Application.Mapping
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  8. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  9. /// 创建人:陈彬彬
  10. /// 日 期:2017.04.17
  11. /// 描 述:新闻公告
  12. /// </summary>
  13. public class ScheduleMap : EntityTypeConfiguration<ScheduleEntity>
  14. {
  15. public ScheduleMap()
  16. {
  17. #region 表、主键
  18. //表
  19. this.ToTable("LR_OA_SCHEDULE");
  20. //主键
  21. this.HasKey(t => t.F_ScheduleId);
  22. #endregion
  23. #region 配置关系
  24. #endregion
  25. }
  26. }
  27. }