| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.whyc.config.EnumWorksheetType; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.ibatis.type.Alias; |
| | | |
| | |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | @TableName(schema = "db_doc",value = "tb_worksheet_main") |
| | | @TableName(value = "tb_worksheet_main") |
| | | @Alias("WorksheetMain") |
| | | public class WorksheetMain { |
| | | private Integer id; |
| | |
| | | * 1:经理处理中 |
| | | * 2:总经理处理中 |
| | | * 5:归档 |
| | | * |
| | | * ->在流程卡/SOP中 |
| | | * 0:驳回,完结 |
| | | * 1:处理中 |
| | | * 5:归档 |
| | | * */ |
| | | private Integer status; |
| | | @ApiModelProperty("工单结束意见") |
| | | private String endReason; |
| | | |
| | | /** |
| | | * {@link EnumWorksheetType#getType()} |
| | | */ |
| | | @ApiModelProperty("工单类型") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty("流程的下个处理人") |
| | | @TableField(exist = false) |
| | |
| | | @TableField(exist = false) |
| | | private DocUser createUser; |
| | | |
| | | @ApiModelProperty("待审批产品bom") |
| | | @ApiModelProperty("待审批产品") |
| | | @TableField(exist = false) |
| | | private List<ProductBomApproving> approvingBomList; |
| | | private ProductApproving productApproving; |
| | | |
| | | @TableField(exist = false) |
| | | private LinkedList<WorksheetLink> links; |
| | | |
| | | @TableField(exist = false) |
| | | private DocUser approvingUser; |
| | | |
| | | @ApiModelProperty("待审批物料") |
| | | @TableField(exist = false) |
| | | private List<MaterialApproving> mApprovingList; |
| | | |
| | | @TableField(exist = false) |
| | | private List<MaterialProductApproving> mpApprovingList; |
| | | |
| | | @TableField(exist = false) |
| | | private ProcedureDoc procedureDoc; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer pageNum; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer pageSize; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | this.links = links; |
| | | } |
| | | |
| | | public List<ProductBomApproving> getApprovingBomList() { |
| | | return approvingBomList; |
| | | public ProductApproving getProductApproving() { |
| | | return productApproving; |
| | | } |
| | | |
| | | public void setApprovingBomList(List<ProductBomApproving> approvingBomList) { |
| | | this.approvingBomList = approvingBomList; |
| | | public void setProductApproving(ProductApproving productApproving) { |
| | | this.productApproving = productApproving; |
| | | } |
| | | |
| | | public DocUser getApprovingUser() { |
| | |
| | | public void setApprovingUser(DocUser approvingUser) { |
| | | this.approvingUser = approvingUser; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public List<MaterialApproving> getMApprovingList() { |
| | | return mApprovingList; |
| | | } |
| | | |
| | | public void setMApprovingList(List<MaterialApproving> mApprovingList) { |
| | | this.mApprovingList = mApprovingList; |
| | | } |
| | | |
| | | public List<MaterialProductApproving> getMpApprovingList() { |
| | | return mpApprovingList; |
| | | } |
| | | |
| | | public void setMpApprovingList(List<MaterialProductApproving> mpApprovingList) { |
| | | this.mpApprovingList = mpApprovingList; |
| | | } |
| | | |
| | | public ProcedureDoc getProcedureDoc() { |
| | | return procedureDoc; |
| | | } |
| | | |
| | | public void setProcedureDoc(ProcedureDoc procedureDoc) { |
| | | this.procedureDoc = procedureDoc; |
| | | } |
| | | |
| | | public void setPageNum(Integer pageNum) { |
| | | this.pageNum = pageNum; |
| | | } |
| | | |
| | | public void setPageSize(Integer pageSize) { |
| | | this.pageSize = pageSize; |
| | | } |
| | | |
| | | public Integer getPageNum() { |
| | | return pageNum; |
| | | } |
| | | |
| | | public Integer getPageSize() { |
| | | return pageSize; |
| | | } |
| | | } |