whycxzp
2022-08-15 576dcf4665d5c6049b046157474649e11b602b6a
物料编码字典新建及数据导入
3个文件已添加
156 ■■■■■ 已修改文件
src/main/java/com/whyc/controller/ProductSoftwareController.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/ProductSoftware.java 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/ProductSoftwareApproving.java 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/controller/ProductSoftwareController.java
New file
@@ -0,0 +1,12 @@
package com.whyc.controller;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(tags = "文档历史信息管理")
@RestController
@RequestMapping("productSoftware")
public class ProductSoftwareController {
}
src/main/java/com/whyc/pojo/ProductSoftware.java
New file
@@ -0,0 +1,73 @@
package com.whyc.pojo;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;
import java.util.Date;
@TableName(schema = "db_doc",value = "tb_product_software")
@Alias("ProductSoftware")
public class ProductSoftware {
    private Integer id;
    private String parentModel;
    private String softwareName;
    private String softwareUrl;
    @ApiModelProperty("软件版本提交审批时间")
    private Date submitTime;
    @ApiModelProperty("软件版本生效时间")
    private Date createTime;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getParentModel() {
        return parentModel;
    }
    public void setParentModel(String parentModel) {
        this.parentModel = parentModel;
    }
    public String getSoftwareName() {
        return softwareName;
    }
    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }
    public String getSoftwareUrl() {
        return softwareUrl;
    }
    public void setSoftwareUrl(String softwareUrl) {
        this.softwareUrl = softwareUrl;
    }
    public Date getSubmitTime() {
        return submitTime;
    }
    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
src/main/java/com/whyc/pojo/ProductSoftwareApproving.java
New file
@@ -0,0 +1,71 @@
package com.whyc.pojo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.Alias;
import java.util.Date;
@TableName(schema = "db_doc",value = "tb_product_software_approving")
@Alias("ProductSoftwareApproving")
public class ProductSoftwareApproving {
    private Integer id;
    private String parentModel;
    private String softwareName;
    private String softwareUrl;
    private Date createTime;
    private Integer mainId;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getParentModel() {
        return parentModel;
    }
    public void setParentModel(String parentModel) {
        this.parentModel = parentModel;
    }
    public String getSoftwareName() {
        return softwareName;
    }
    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }
    public String getSoftwareUrl() {
        return softwareUrl;
    }
    public void setSoftwareUrl(String softwareUrl) {
        this.softwareUrl = softwareUrl;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Integer getMainId() {
        return mainId;
    }
    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }
}