package com.zd.airbottle.domain.dto;

import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * 气瓶规格详情对象 qp_specification_detail
 *
 * @author zd
 * @date 2022-05-17
 */
@ApiModel("气瓶规格详情")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpSpecificationDetailDto {
    /**
     * 主键id,数据唯一标识
     */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /**
     * 规格值
     */
    @Excel(name = "规格值")
    @Length(message = "规格值长度不能超过50")
    @ApiModelProperty(value = "规格值")
    private String specValue;
    /**
     * 气瓶规格id
     */
    @Excel(name = "气瓶规格id")
    @Length(message = "气瓶规格id长度不能超过20")
    @ApiModelProperty(value = "气瓶规格id")
    private String specId;

}
