whycxzp
2022-08-15 6eda8b2ff2b6748376670e84a14a8656cc1094c6
src/main/java/com/whyc/pojo/ComponentApproving.java
@@ -1,6 +1,7 @@
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;
@@ -54,8 +55,11 @@
    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;
@@ -225,11 +229,19 @@
        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;
    }
}