test_paper_guide_Mapping.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace EMISOnline.Entities
  10. {
  11. #pragma warning disable 1573
  12. using System;
  13. using System.Collections.Generic;
  14. using System.ComponentModel.DataAnnotations;
  15. using System.Data.Common;
  16. using System.Data.Entity;
  17. using System.Data.Entity.ModelConfiguration;
  18. using System.Data.Entity.Infrastructure;
  19. using System.ComponentModel.DataAnnotations.Schema;
  20. internal partial class test_paper_guide_Mapping : EntityTypeConfiguration<test_paper_guide>
  21. {
  22. public test_paper_guide_Mapping()
  23. {
  24. this.HasKey(t => t.test_paper_guide_id);
  25. this.ToTable("test_paper_guide");
  26. this.Property(t => t.test_paper_guide_id).HasColumnName("test_paper_guide_id").HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
  27. this.Property(t => t.modal_name).HasColumnName("modal_name").IsUnicode(false).HasMaxLength(500);
  28. this.Property(t => t.note).HasColumnName("note").IsUnicode(false).HasMaxLength(500);
  29. this.Property(t => t.knowledge_type_set_id).HasColumnName("knowledge_type_set_id");
  30. this.Property(t => t.knowledge_point_set_id).HasColumnName("knowledge_point_set_id");
  31. this.Property(t => t.open_dept_set_id).HasColumnName("open_dept_set_id");
  32. this.Property(t => t.is_open_answer).HasColumnName("is_open_answer");
  33. this.Property(t => t.question_libary_set_id).HasColumnName("question_libary_set_id").IsUnicode(false).HasMaxLength(200);
  34. this.Property(t => t.error_percent).HasColumnName("error_percent");
  35. this.Property(t => t.used_count_min).HasColumnName("used_count_min");
  36. this.Property(t => t.used_count_max).HasColumnName("used_count_max");
  37. this.Property(t => t.difficulty_degree_minvalue).HasColumnName("difficulty_degree_minvalue");
  38. this.Property(t => t.difficulty_degree_maxvalue).HasColumnName("difficulty_degree_maxvalue");
  39. this.Property(t => t.isTestOrSelfTest).HasColumnName("isTestOrSelfTest");
  40. this.Property(t => t.test_method).HasColumnName("test_method");
  41. this.Property(t => t.get_question_method).HasColumnName("get_question_method");
  42. this.Property(t => t.question_update_date_min).HasColumnName("question_update_date_min");
  43. this.Property(t => t.question_update_date_max).HasColumnName("question_update_date_max");
  44. this.Property(t => t.is_vaild).HasColumnName("is_vaild");
  45. this.Property(t => t.vaild_begin_date).HasColumnName("vaild_begin_date");
  46. this.Property(t => t.vaild_end_date).HasColumnName("vaild_end_date");
  47. this.Property(t => t.distributing_option).HasColumnName("distributing_option");
  48. this.Property(t => t.Prority).HasColumnName("Prority");
  49. this.Property(t => t.paper_score).HasColumnName("paper_score");
  50. this.Property(t => t.is_converted).HasColumnName("is_converted");
  51. this.Property(t => t.used_count).HasColumnName("used_count");
  52. this.Property(t => t.is_dynamic).HasColumnName("is_dynamic");
  53. this.Property(t => t.is_autogenerate).HasColumnName("is_autogenerate");
  54. this.Property(t => t.created_date).HasColumnName("created_date");
  55. this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50);
  56. }
  57. }
  58. }