SchedulerDetail.java 6.49 KB
package com.huaheng.mmsrf.bean;


import java.math.BigDecimal;

public class SchedulerDetail {
    private Integer id;
    private Integer headerId;
    private String ids;
    private String drawingNo;
    private String parentDrawingNo;
    private String name;
    private String qty;
    private String completeQty;
    private String technology;
    private String readyTime;
    private String technologyTime;
    private String preDate;
    private Integer sequence;
    private String completeBy;
    private String completeDate;
    private String delayReason;
    private String technologyType;
    private Integer status;
    private String createBy;
    private String createTime;
    private String updateBy;
    private String updateTime;
    private String qrCode;
    private String no;
    private String workno;
    private String f1;//机械标识
    private String f2;//电气标识
    private String f3;//打码标识
    private BigDecimal weight;

    /**计算未完成的数量**/
    public String getQtyLeft(){
        BigDecimal qty1 = new BigDecimal(qty);
        BigDecimal qty2 = new BigDecimal(completeQty);
        return String.valueOf(qty1.subtract(qty2));
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHeaderId() {
        return headerId;
    }

    public void setHeaderId(Integer headerId) {
        this.headerId = headerId;
    }

    public String getDrawingNo() {
        return drawingNo;
    }

    public void setDrawingNo(String drawingNo) {
        this.drawingNo = drawingNo;
    }

    public String getParentDrawingNo() {
        return parentDrawingNo;
    }

    public void setParentDrawingNo(String parentDrawingNo) {
        this.parentDrawingNo = parentDrawingNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQty() {
        return qty;
    }

    public void setQty(String qty) {
        this.qty = qty;
    }

    public String getTechnology() {
        return technology;
    }

    public void setTechnology(String technology) {
        this.technology = technology;
    }

    public String getPreDate() {
        return preDate;
    }

    public void setPreDate(String preDate) {
        this.preDate = preDate;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getCompleteBy() {
        return completeBy;
    }

    public void setCompleteBy(String completeBy) {
        this.completeBy = completeBy;
    }

    public String getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(String completeDate) {
        this.completeDate = completeDate;
    }

    public String getDelayReason() {
        return delayReason;
    }

    public void setDelayReason(String delayReason) {
        this.delayReason = delayReason;
    }

    public String getTechnologyType() {
        return technologyType;
    }

    public void setTechnologyType(String technologyType) {
        this.technologyType = technologyType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getTechnologyTime() {
        return technologyTime;
    }

    public void setTechnologyTime(String technologyTime) {
        this.technologyTime = technologyTime;
    }

    public String getCompleteQty() {
        return completeQty;
    }

    public void setCompleteQty(String completeQty) {
        this.completeQty = completeQty;
    }

    public String getReadyTime() {
        return readyTime;
    }

    public void setReadyTime(String readyTime) {
        this.readyTime = readyTime;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getWorkno() {
        return workno;
    }

    public void setWorkno(String workno) {
        this.workno = workno;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getF1() {
        return f1;
    }

    public void setF1(String f1) {
        this.f1 = f1;
    }

    public String getF2() {
        return f2;
    }

    public void setF2(String f2) {
        this.f2 = f2;
    }

    public String getF3() {
        return f3;
    }

    public void setF3(String f3) {
        this.f3 = f3;
    }

    @Override
    public String toString() {
        return "SchedulerDetail{" +
                "id=" + id +
                "ids=" + ids +
                ", headerId=" + headerId +
                ", drawingNo='" + drawingNo + '\'' +
                ", parentDrawingNo='" + parentDrawingNo + '\'' +
                ", name='" + name + '\'' +
                ", qty='" + qty + '\'' +
                ", technology='" + technology + '\'' +
                ", preDate='" + preDate + '\'' +
                ", sequence=" + sequence +
                ", completeBy='" + completeBy + '\'' +
                ", completeDate='" + completeDate + '\'' +
                ", delayReason='" + delayReason + '\'' +
                ", technologyType='" + technologyType + '\'' +
                ", status=" + status +
                ", createBy='" + createBy + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}