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.

StuAttendanceMap.cs 858 B

4 years ago
123456789101112131415161718192021222324252627282930
  1. using Learun.Application.TwoDevelopment.EducationalAdministration;
  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. /// 日 期:2019-04-02 16:44
  10. /// 描 述:学生考勤
  11. /// </summary>
  12. public class StuAttendanceMap : EntityTypeConfiguration<StuAttendanceEntity>
  13. {
  14. public StuAttendanceMap()
  15. {
  16. #region 表、主键
  17. //表
  18. this.ToTable("STUATTENDANCE");
  19. //主键
  20. //this.HasKey(t => t.StuAttendanceNo);
  21. this.HasKey(t => t.ID);
  22. #endregion
  23. #region 配置关系
  24. #endregion
  25. }
  26. }
  27. }