hongjli
2025-05-23 a57390bfc4f92178e2adba3a2973ef6df0807656
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java
@@ -2,8 +2,15 @@
import com.aps.common.core.annotation.Excel;
import com.aps.common.core.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Id;
import java.math.BigDecimal;
/**
 * 标准工序对象 aps_standard_process
@@ -11,63 +18,98 @@
 * @author hjy
 * @date 2025-04-23
 */
@Schema(description = "标准工序实体")
public class ApsStandardProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Id
    @TableId(type = IdType.AUTO)
    /** 主键id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    /** 主键id */
    @Schema(description = "主键id", type = "Long")
    private Long id;
    /** 工序编码 */
    @Schema(description = "工序编码", type = "String")
    @Excel(name = "工序编码")
    private String processNumber;
    /** 工序名称 */
    @Schema(description = "工序名称", type = "String")
    @Excel(name = "工序名称")
    private String processName;
    /** 资源组 */
    @Schema(description = "资源组", type = "String")
    @Excel(name = "资源组")
    private String resourceGroupName;
    /** 专业 */
    @Schema(description = "专业", type = "String")
    @Excel(name = "专业")
    private String major;
    /** 产能模型: 独占/合批 */
    @Excel(name = "产能模型: 独占/合批")
    @Schema(description = "产能模型", type = "String")
    @Excel(name = "产能模型")
    private String model;
    /** 设计产能 */
    @Schema(description = "设计产能", type = "String")
    @Excel(name = "设计产能")
    private String designCapacity;
    private BigDecimal designCapacity;
    /** 工厂Id */
    @Excel(name = "工厂Id")
    @Schema(description = "工厂Id", type = "String")
//    @Excel(name = "工厂Id")
    private String plantId;
    /** 工厂 */
    @Excel(name = "工厂")
    @Schema(description = "适用工厂", type = "String")
    @Excel(name = "适用工厂")
    private String plant;
    /** 车间Id */
    @Excel(name = "车间Id")
    @Schema(description = "车间Id", type = "String")
//    @Excel(name = "车间Id")
    private String workShopId;
    /** 车间 */
    @Excel(name = "车间")
    @Schema(description = "适用车间", type = "String")
    @Excel(name = "适用车间")
    private String workShop;
    /** 日历Id */
    @Excel(name = "日历Id")
    @Schema(description = "日历Id", type = "Long")
//    @Excel(name = "日历Id")
    private Long workCalenderId;
    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;
    /** 产能模型Id */
    @Excel(name = "产能模型Id")
    private Long modelId;
    /** 日历描述 */
    @Schema(description = "日历描述", type = "String")
    @Excel(name = "日历描述")
    private String workCalender;
    /** 产能模型Id */
    @Schema(description = "产能模型Id", type = "Long")
//    @Excel(name = "产能模型Id")
    private Long modelId;
    /** 删除标志(0代表存在 2代表删除) */
    @Schema(description = "删除标志(0代表存在 2代表删除)", type = "String")
    private String delFlag;
    public String getMajor() {
        return major;
    }
    public void setMajor(String major) {
        this.major = major;
    }
    public void setId(Long id) 
    {
@@ -119,12 +161,12 @@
        return model;
    }
    public void setDesignCapacity(String designCapacity)
    public void setDesignCapacity(BigDecimal designCapacity)
    {
        this.designCapacity = designCapacity;
    }
    public String getDesignCapacity()
    public BigDecimal getDesignCapacity()
    {
        return designCapacity;
    }
@@ -230,6 +272,7 @@
            .append("updateTime", getUpdateTime())
            .append("modelId", getModelId())
            .append("workCalender", getWorkCalender())
            .append("major", getMajor())
            .toString();
    }
}