mh_sms/APT.BaseData.Data/Mapping/FM/FMAutoPrintRecordMap.cs

20 lines
630 B
C#
Raw Permalink Normal View History

2024-01-22 09:17:01 +08:00
using APT.Infrastructure.EF.Map;
using APT.BaseData.Domain.Entities.FM;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace APT.BaseData.Data.Mapping.FM
{
public class FMAutoPrintRecordMap : APTEntityBaseMap<T_FM_AUTO_PRINT_RECORD>
{
public override void Configure(EntityTypeBuilder<T_FM_AUTO_PRINT_RECORD> builder)
{
base.Configure(builder);
builder.Property(t => t.PRINTER_NAME).HasMaxLength(200);
builder.Property(t => t.TEMPLET_FILE_NAME).HasMaxLength(400);
builder.Property(t => t.REMARK).HasMaxLength(200);
builder.Property(t => t.PRINTER_COMPUTER_NAME).HasMaxLength(400);
}
}
}