CF_StudentContrast_Mapping.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_StudentContrast_Mapping : EntityTypeConfiguration<CF_StudentContrast>
  21. {
  22. public CF_StudentContrast_Mapping()
  23. {
  24. this.HasKey(t => t.StudentContrastID);
  25. this.ToTable("CF_StudentContrast");
  26. this.Property(t => t.StudentContrastID).HasColumnName("StudentContrastID");
  27. this.Property(t => t.UserID).HasColumnName("UserID");
  28. this.Property(t => t.ClassmajorID).HasColumnName("ClassmajorID");
  29. this.Property(t => t.PhotoUrl).HasColumnName("PhotoUrl").IsUnicode(false).HasMaxLength(500);
  30. this.Property(t => t.Sex).HasColumnName("Sex");
  31. this.Property(t => t.CertificatesType).HasColumnName("CertificatesType");
  32. this.Property(t => t.IDNumber).HasColumnName("IDNumber").IsRequired().IsUnicode(false).HasMaxLength(20);
  33. this.Property(t => t.StudentCardNo).HasColumnName("StudentCardNo").IsUnicode(false).HasMaxLength(50);
  34. this.Property(t => t.PlanningGraduateDate).HasColumnName("PlanningGraduateDate");
  35. this.Property(t => t.CultureModel).HasColumnName("CultureModel");
  36. this.Property(t => t.StudentType).HasColumnName("StudentType");
  37. this.Property(t => t.StudentStatus).HasColumnName("StudentStatus");
  38. this.Property(t => t.InSchoolStatusID).HasColumnName("InSchoolStatusID");
  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.IP).HasColumnName("IP").IsUnicode(false).HasMaxLength(50);
  45. this.Property(t => t.AuditComments).HasColumnName("AuditComments").IsUnicode(false);
  46. this.Property(t => t.GraduateCardNo).HasColumnName("GraduateCardNo").IsUnicode(false).HasMaxLength(50);
  47. this.Property(t => t.IsDreamProject).HasColumnName("IsDreamProject");
  48. this.Property(t => t.Career).HasColumnName("Career");
  49. }
  50. }
  51. }