package com.microservices.zone.specialProject.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author OTTO
 */
@Data
@ApiModel("通用类型")
public class CommonTypeVo {
    @ApiModelProperty(value = "类型键值")
    private String key;
    @ApiModelProperty(value = "类型名称")
    private String name;

    public CommonTypeVo(String key, String name) {
        this.key = key;
        this.name = name;
    }
}
