| | |
| | | package com.whyc.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.ibatis.type.Alias; |
| | |
| | | |
| | | private Integer mainId; |
| | | |
| | | @ApiModelProperty("操作类型:-1删除,1新增") |
| | | private Integer operationType; |
| | | @ApiModelProperty("散装件id,新增必然没有值,删除必然存在值") |
| | | private Integer componentId; |
| | | |
| | | @TableField(exist = false) |
| | | private Component component; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | this.mainId = mainId; |
| | | } |
| | | |
| | | public Integer getOperationType() { |
| | | return operationType; |
| | | public Integer getComponentId() { |
| | | return componentId; |
| | | } |
| | | |
| | | public void setOperationType(Integer operationType) { |
| | | this.operationType = operationType; |
| | | public void setComponentId(Integer componentId) { |
| | | this.componentId = componentId; |
| | | } |
| | | |
| | | public Component getComponent() { |
| | | return component; |
| | | } |
| | | |
| | | public void setComponent(Component component) { |
| | | this.component = component; |
| | | } |
| | | } |