using Seyounth.Hyosung.Data.Entities; namespace Seyounth.Hyosung.Data.Models; public class Pallet : PalletEntity { public static Pallet FromEntity(PalletEntity p) { return new Pallet() { Height = p.Height, Width = p.Width, Length = p.Length, HoleCount = p.HoleCount, Id = p.Id, IsBigHole = p.IsBigHole, Type = p.Type }; } }