| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.production.pojo.ProductProcessParam; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | |
| | | * @since 2026/03/14 15:33 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value = "ProductProcessParamDto对象", description = "工序绑定参数Dto") |
| | | public class ProductProcessParamDto { |
| | | public class ProductProcessParamDto extends ProductProcessParam { |
| | | |
| | | @ApiModelProperty("主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("所属工序ID (product_process.id)") |
| | | private Long processId; |
| | | |
| | | @ApiModelProperty("关联基础参数ID (base_param.id)") |
| | | private Long paramId; |
| | | |
| | | @ApiModelProperty("在此工序设定的标准值(单值模式使用)") |
| | | private String standardValue; |
| | | |
| | | @ApiModelProperty("在此工序设定的标准最小值(区间模式使用)") |
| | | private BigDecimal minValue; |
| | | |
| | | @ApiModelProperty("在此工序设定的标准最大值(区间模式使用)") |
| | | private BigDecimal maxValue; |
| | | |
| | | @ApiModelProperty("在此工序中是否必填(0-否, 1-是)") |
| | | private Integer isRequired; |
| | | |
| | | @ApiModelProperty("排序号") |
| | | private Integer sort; |
| | | |
| | | @ApiModelProperty("参数名称") |
| | | private String paramName; |
| | | |
| | | @ApiModelProperty("参数类型(1数字 2文本 3下拉选择 4时间)") |
| | | private Integer paramType; |
| | | |
| | | @ApiModelProperty("参数格式") |
| | | private String paramFormat; |
| | | |
| | | @ApiModelProperty("值模式(1单值 2区间)") |
| | | private Integer valueMode; |
| | | |
| | | @ApiModelProperty("单位") |
| | | private String unit; |
| | | |
| | | @ApiModelProperty("创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty("更新时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | } |