1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 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.
- // </auto-generated>
- //------------------------------------------------------------------------------
- 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 CF_StudentContrast_Mapping : EntityTypeConfiguration<CF_StudentContrast>
- {
- public CF_StudentContrast_Mapping()
- {
- this.HasKey(t => t.StudentContrastID);
- this.ToTable("CF_StudentContrast");
- this.Property(t => t.StudentContrastID).HasColumnName("StudentContrastID");
- this.Property(t => t.UserID).HasColumnName("UserID");
- this.Property(t => t.ClassmajorID).HasColumnName("ClassmajorID");
- this.Property(t => t.PhotoUrl).HasColumnName("PhotoUrl").IsUnicode(false).HasMaxLength(500);
- this.Property(t => t.Sex).HasColumnName("Sex");
- this.Property(t => t.CertificatesType).HasColumnName("CertificatesType");
- this.Property(t => t.IDNumber).HasColumnName("IDNumber").IsRequired().IsUnicode(false).HasMaxLength(20);
- this.Property(t => t.StudentCardNo).HasColumnName("StudentCardNo").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.PlanningGraduateDate).HasColumnName("PlanningGraduateDate");
- this.Property(t => t.CultureModel).HasColumnName("CultureModel");
- this.Property(t => t.StudentType).HasColumnName("StudentType");
- this.Property(t => t.StudentStatus).HasColumnName("StudentStatus");
- this.Property(t => t.InSchoolStatusID).HasColumnName("InSchoolStatusID");
- this.Property(t => t.RecordStatus).HasColumnName("RecordStatus");
- this.Property(t => t.CreateTime).HasColumnName("CreateTime");
- this.Property(t => t.CreateUserID).HasColumnName("CreateUserID");
- this.Property(t => t.ModifyUserID).HasColumnName("ModifyUserID");
- this.Property(t => t.ModifyTime).HasColumnName("ModifyTime");
- this.Property(t => t.IP).HasColumnName("IP").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.AuditComments).HasColumnName("AuditComments").IsUnicode(false);
- this.Property(t => t.GraduateCardNo).HasColumnName("GraduateCardNo").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.IsDreamProject).HasColumnName("IsDreamProject");
- this.Property(t => t.Career).HasColumnName("Career");
- }
- }
- }
|