20 lines
620 B
C#
20 lines
620 B
C#
using APT.Infrastructure.Core;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace APT.Infrastructure.EF.Map
|
|
{
|
|
public class PFParamMap : IEntityTypeConfiguration<T_PF_PARAM>
|
|
{
|
|
public void Configure(EntityTypeBuilder<T_PF_PARAM> builder)
|
|
{
|
|
builder.HasKey(t => t.ID);
|
|
builder.Property(t => t.CODE).HasMaxLength(60);
|
|
builder.Property(t => t.VALUE).HasMaxLength(600);
|
|
builder.Property(t => t.CREATE_TIME);
|
|
builder.Ignore(t => t.VIR_IS_DELETED);
|
|
//this.Property(t => t.ENTITY_ID);
|
|
}
|
|
}
|
|
}
|