package com.patzn.lims.sys.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * Vux 城市选择数据格式转换对象<br/>
 * https://github.com/airyland/china-area-data/blob/master/vux/china_address_v4.json
 * </p>
 *
 * @author hubin
 * @since 2018-06-12
 */
@Data
@Accessors(chain = true)
public class VuxCityDTO implements Serializable {
    private String name;
    private String value;
    private String parent;

    public VuxCityDTO() {

    }

    public VuxCityDTO(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public VuxCityDTO(String name, String value, String parent) {
        this.name = name;
        this.value = value;
        this.parent = parent;
    }
}
