CF_Student_Mapping.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 CF_Student_Mapping : EntityTypeConfiguration<CF_Student>
  21. {
  22. public CF_Student_Mapping()
  23. {
  24. this.HasKey(t => t.UserID);
  25. this.ToTable("CF_Student");
  26. this.Property(t => t.UserID).HasColumnName("UserID");
  27. this.Property(t => t.ClassmajorID).HasColumnName("ClassmajorID");
  28. this.Property(t => t.PhotoUrl).HasColumnName("PhotoUrl").IsUnicode(false).HasMaxLength(500);
  29. this.Property(t => t.Sex).HasColumnName("Sex");
  30. this.Property(t => t.CertificatesType).HasColumnName("CertificatesType");
  31. this.Property(t => t.IDNumber).HasColumnName("IDNumber").IsUnicode(false).HasMaxLength(20);
  32. this.Property(t => t.StudentCardNo).HasColumnName("StudentCardNo").IsUnicode(false).HasMaxLength(50);
  33. this.Property(t => t.PlanningGraduateDate).HasColumnName("PlanningGraduateDate");
  34. this.Property(t => t.CultureModel).HasColumnName("CultureModel");
  35. this.Property(t => t.StudentType).HasColumnName("StudentType");
  36. this.Property(t => t.StudentStatus).HasColumnName("StudentStatus");
  37. this.Property(t => t.InSchoolStatusID).HasColumnName("InSchoolStatusID");
  38. this.Property(t => t.IsProofread).HasColumnName("IsProofread");
  39. this.Property(t => t.RecordStatus).HasColumnName("RecordStatus");
  40. this.Property(t => t.CreateTime).HasColumnName("CreateTime");
  41. this.Property(t => t.CreateUserID).HasColumnName("CreateUserID");
  42. this.Property(t => t.ModifyUserID).HasColumnName("ModifyUserID");
  43. this.Property(t => t.ModifyTime).HasColumnName("ModifyTime");
  44. this.Property(t => t.GraduateCardNo).HasColumnName("GraduateCardNo").IsUnicode(false).HasMaxLength(50);
  45. this.Property(t => t.IsDreamProject).HasColumnName("IsDreamProject");
  46. this.Property(t => t.Career).HasColumnName("Career");
  47. }
  48. }
  49. }