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.
 
 
 
 
 
 

32 lines
935 B

  1. using Learun.Application.TwoDevelopment.PersonnelManagement;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Learun.Application.Mapping
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
  7. /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
  8. /// 创 建:超级管理员
  9. /// 日 期:2020-09-03 14:57
  10. /// 描 述:考勤限制
  11. /// </summary>
  12. public class ADR_RestrictionMap : EntityTypeConfiguration<ADR_RestrictionEntity>
  13. {
  14. public ADR_RestrictionMap()
  15. {
  16. #region 表、主键
  17. //表
  18. this.ToTable("ADR_RESTRICTION");
  19. //主键
  20. this.HasKey(t => t.ID);
  21. this.Property(e => e.GPSLon).HasPrecision(15, 8);
  22. this.Property(e => e.GPSLat).HasPrecision(15, 8);
  23. #endregion
  24. #region 配置关系
  25. #endregion
  26. }
  27. }
  28. }