2025-03-16 03:17:36 +08:00
|
|
|
using Seyounth.Hyosung.Data.Entities;
|
|
|
|
|
|
|
|
namespace Seyounth.Hyosung.Data.Models;
|
|
|
|
|
2025-03-16 23:38:23 +08:00
|
|
|
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
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|