mh_frame_sps/APT.Infrastructure.EF/Map/PFParamMap.cs
2026-04-07 13:47:52 +08:00

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);
}
}
}