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.
 
 
 
 
 
 

30 lines
789 B

  1. using Learun.Application.TwoDevelopment.PersonnelManagement;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Learun.Application.Mapping
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创 建:超级管理员
  9. /// 日 期:2020-03-23 14:57
  10. /// 描 述:文档管理
  11. /// </summary>
  12. public class SRDocumentMap : EntityTypeConfiguration<SRDocumentEntity>
  13. {
  14. public SRDocumentMap()
  15. {
  16. #region 表、主键
  17. //表
  18. this.ToTable("SRDOCUMENT");
  19. //主键
  20. this.HasKey(t => t.Id);
  21. #endregion
  22. #region 配置关系
  23. #endregion
  24. }
  25. }
  26. }