//------------------------------------------------------------------------------
//
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//
//------------------------------------------------------------------------------
namespace EMISOnline.Entities
{
#pragma warning disable 1573
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.Infrastructure;
using System.ComponentModel.DataAnnotations.Schema;
internal partial class test_paper_guide_Mapping : EntityTypeConfiguration
{
public test_paper_guide_Mapping()
{
this.HasKey(t => t.test_paper_guide_id);
this.ToTable("test_paper_guide");
this.Property(t => t.test_paper_guide_id).HasColumnName("test_paper_guide_id").HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
this.Property(t => t.modal_name).HasColumnName("modal_name").IsUnicode(false).HasMaxLength(500);
this.Property(t => t.note).HasColumnName("note").IsUnicode(false).HasMaxLength(500);
this.Property(t => t.knowledge_type_set_id).HasColumnName("knowledge_type_set_id");
this.Property(t => t.knowledge_point_set_id).HasColumnName("knowledge_point_set_id");
this.Property(t => t.open_dept_set_id).HasColumnName("open_dept_set_id");
this.Property(t => t.is_open_answer).HasColumnName("is_open_answer");
this.Property(t => t.question_libary_set_id).HasColumnName("question_libary_set_id").IsUnicode(false).HasMaxLength(200);
this.Property(t => t.error_percent).HasColumnName("error_percent");
this.Property(t => t.used_count_min).HasColumnName("used_count_min");
this.Property(t => t.used_count_max).HasColumnName("used_count_max");
this.Property(t => t.difficulty_degree_minvalue).HasColumnName("difficulty_degree_minvalue");
this.Property(t => t.difficulty_degree_maxvalue).HasColumnName("difficulty_degree_maxvalue");
this.Property(t => t.isTestOrSelfTest).HasColumnName("isTestOrSelfTest");
this.Property(t => t.test_method).HasColumnName("test_method");
this.Property(t => t.get_question_method).HasColumnName("get_question_method");
this.Property(t => t.question_update_date_min).HasColumnName("question_update_date_min");
this.Property(t => t.question_update_date_max).HasColumnName("question_update_date_max");
this.Property(t => t.is_vaild).HasColumnName("is_vaild");
this.Property(t => t.vaild_begin_date).HasColumnName("vaild_begin_date");
this.Property(t => t.vaild_end_date).HasColumnName("vaild_end_date");
this.Property(t => t.distributing_option).HasColumnName("distributing_option");
this.Property(t => t.Prority).HasColumnName("Prority");
this.Property(t => t.paper_score).HasColumnName("paper_score");
this.Property(t => t.is_converted).HasColumnName("is_converted");
this.Property(t => t.used_count).HasColumnName("used_count");
this.Property(t => t.is_dynamic).HasColumnName("is_dynamic");
this.Property(t => t.is_autogenerate).HasColumnName("is_autogenerate");
this.Property(t => t.created_date).HasColumnName("created_date");
this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50);
}
}
}