package cn.toesbieya.jxc.model.vo;

import cn.toesbieya.jxc.model.entity.SysEquipment;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.BeanUtils;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class EquipmentVo extends SysEquipment {
    private String regionName;

    public EquipmentVo(SysEquipment parent) {
        BeanUtils.copyProperties(parent, this);
    }
}
