//------------------------------------------------------------------------------
//
// 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
{
#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 TP_PaymentFormula_Mapping : EntityTypeConfiguration
{
public TP_PaymentFormula_Mapping()
{
this.HasKey(t => t.PaymentFormulaID);
this.ToTable("TP_PaymentFormula");
this.Property(t => t.PaymentFormulaID).HasColumnName("PaymentFormulaID");
this.Property(t => t.Name).HasColumnName("Name").HasMaxLength(50);
this.Property(t => t.StudentCountRateFormunla).HasColumnName("StudentCountRateFormunla").IsUnicode(false).HasMaxLength(500);
this.Property(t => t.PaymentFormula).HasColumnName("PaymentFormula").IsUnicode(false).HasMaxLength(500);
this.Property(t => t.IsDefault).HasColumnName("IsDefault");
}
}
}