package cn.toesbieya.jxc.model.vo;

import cn.toesbieya.jxc.model.entity.SysLocation;
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 LocationVo extends SysLocation {
    private String regionName;

    public LocationVo(SysLocation parent) {
        BeanUtils.copyProperties(parent, this);
    }
}
