|
- package com.example.webapi.dto;
-
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
-
- /**
- * 品种信息查询条件DTO
- *
- * @author Your Name
- * @version 1.0.0
- */
- @Data
- @EqualsAndHashCode(callSuper = true)
- @ApiModel(description = "品种信息查询条件数据传输对象")
- public class MaterialInfoQueryDTO extends BasePageDTO {
-
- @ApiModelProperty(value = "品种编码", example = "M001", notes = "支持模糊查询")
- private String code; // 品种编码(模糊查询)
-
- @ApiModelProperty(value = "品种名称", example = "钢材", notes = "支持模糊查询")
- private String name; // 品种名称(模糊查询)
-
- @ApiModelProperty(value = "激活状态", example = "true", notes = "true=激活,false=未激活")
- private Boolean activate; // 激活状态
- }
|