package com.its.web.dto.common;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("CodeDto(코드 정보 DTO)")
public class CodeDto {

    @ApiModelProperty("코드 ID")
    @JsonProperty("code")
    private String code;

    @ApiModelProperty("한글 명칭")
    @JsonProperty("name")
    private String name;
}
