Square.java 429 字节
Newer Older
C
chenjianqiang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
package com.pattern.PrototypePattern.materials.po;

/**
 * 正方形
 *
 * @author lx
 * @date 2021/11/24 14:47
 **/
public class Square extends Shape {
    private Integer a;
    private Integer b;

    public Integer getA() {
        return a;
    }

    public void setA(Integer a) {
        this.a = a;
    }

    public Integer getB() {
        return b;
    }

    public void setB(Integer b) {
        this.b = b;
    }
}