//------------------------------------------------------------------------------
//
// 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 EMIS.Entities.Log
{
#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 Log_Operate_Mapping : EntityTypeConfiguration
{
public Log_Operate_Mapping()
{
this.HasKey(t => t.OperateID);
this.ToTable("Log_Operate");
this.Property(t => t.OperateID).HasColumnName("OperateID");
this.Property(t => t.UserID).HasColumnName("UserID");
this.Property(t => t.IP).HasColumnName("IP").IsUnicode(false).HasMaxLength(50);
this.Property(t => t.TableName).HasColumnName("TableName").IsUnicode(false).HasMaxLength(50);
this.Property(t => t.SourceUrl).HasColumnName("SourceUrl").IsUnicode(false).HasMaxLength(2000);
this.Property(t => t.Operate).HasColumnName("Operate").HasMaxLength(50);
this.Property(t => t.Detail).HasColumnName("Detail");
this.Property(t => t.IsSuccess).HasColumnName("IsSuccess");
this.Property(t => t.OperateTime).HasColumnName("OperateTime");
}
}
}