12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //------------------------------------------------------------------------------
- // <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 EMIS.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_Publish_Mapping : EntityTypeConfiguration<CF_Publish>
- {
- public CF_Publish_Mapping()
- {
- this.HasKey(t => t.PublishID);
- this.ToTable("CF_Publish");
- this.Property(t => t.PublishID).HasColumnName("PublishID");
- this.Property(t => t.UnitCode).HasColumnName("UnitCode").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.UnitName).HasColumnName("UnitName").IsUnicode(false).HasMaxLength(200);
- this.Property(t => t.UnitShortName).HasColumnName("UnitShortName").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.ContectUser).HasColumnName("ContectUser").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.Mobile).HasColumnName("Mobile").IsUnicode(false).HasMaxLength(11);
- this.Property(t => t.Phone).HasColumnName("Phone").IsUnicode(false).HasMaxLength(20);
- this.Property(t => t.Fax).HasColumnName("Fax").IsUnicode(false).HasMaxLength(20);
- this.Property(t => t.Email).HasColumnName("Email").IsUnicode(false).HasMaxLength(200);
- this.Property(t => t.BandCard).HasColumnName("BandCard").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.BandName).HasColumnName("BandName").IsUnicode(false).HasMaxLength(200);
- this.Property(t => t.Ein).HasColumnName("Ein").IsUnicode(false).HasMaxLength(200);
- this.Property(t => t.Address).HasColumnName("Address");
- this.Property(t => t.IsSupplier).HasColumnName("IsSupplier");
- this.Property(t => t.IsPulish).HasColumnName("IsPulish");
- this.Property(t => t.IsPrint).HasColumnName("IsPrint");
- this.Property(t => t.Desc).HasColumnName("Desc");
- this.Property(t => t.CreateUserID).HasColumnName("CreateUserID");
- this.Property(t => t.CreateTime).HasColumnName("CreateTime");
- }
- }
- }
|