package com.fs.app.dto;

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

/**
 * 产品DTO
 */
@Data
@ApiModel("产品DTO")
public class ProductDTO {

    @ApiModelProperty("产品代码")
    private String code;

    @ApiModelProperty("产品名称")
    private String name;

    public ProductDTO() {
    }

    public ProductDTO(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
