package com.gezi; /** * 作者:是一个鸽子啊 * 时间:2020/06/07 */ public class Box extends Container { /** * 当前箱子的编号 */ private int number; /** * 这个箱子应该放在哪个块位置 */ private FlyBlock fit; /** * 当前箱子属于哪个车子 */ private Fly fly; @Override public String toString() { return "Box{" + "number=" + number + ", fit=" + fit + ", fly=" + fly + '}'; } public Box(int number, int length, int width) { super(length, width); this.number = number; } public Box(int number, int length, int weight,int width) { super(length, width,weight); this.number = number; } public FlyBlock getFit() { return fit; } public void setFit(FlyBlock fit) { this.fit = fit; } public int getNumber() { return number; } public void setNumber(int number) { this.number = number; } public Fly getFly() { return fly; } public void setFly(Fly fly) { this.fly = fly; } }

lironggang LV38
2023年3月26日
最代码官方 LV168
2020年6月9日

yimaoermao LV1
2024年11月28日
Boss绝 LV9
2024年7月1日
3334004690 LV10
2024年6月22日
lironggang LV38
2023年3月26日
libing1860
2022年5月30日
暂无贡献等级
murat7
2022年5月7日
暂无贡献等级
1057148049 LV11
2022年2月8日
woaini12788 LV7
2022年1月14日
my1999 LV2
2021年12月20日
xp95323 LV15
2021年11月9日