zhanghl
2025-05-23 6da289fff756eaecc600422d77c4afff1ddebab0
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsStandardProcess.java
@@ -2,9 +2,13 @@
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;
@@ -20,6 +24,10 @@
{
    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;
@@ -38,6 +46,10 @@
    @Schema(description = "资源组", type = "String")
    @Excel(name = "资源组")
    private String resourceGroupName;
    /** 专业 */
    @Schema(description = "专业", type = "String")
    @Excel(name = "专业")
    private String major;
    /** 产能模型: 独占/合批 */
    @Schema(description = "产能模型", type = "String")
@@ -55,8 +67,8 @@
    private String plantId;
    /** 工厂 */
    @Schema(description = "工厂", type = "String")
    @Excel(name = "工厂")
    @Schema(description = "适用工厂", type = "String")
    @Excel(name = "适用工厂")
    private String plant;
    /** 车间Id */
@@ -65,8 +77,8 @@
    private String workShopId;
    /** 车间 */
    @Schema(description = "车间", type = "String")
    @Excel(name = "车间")
    @Schema(description = "适用车间", type = "String")
    @Excel(name = "适用车间")
    private String workShop;
    /** 日历Id */
@@ -74,19 +86,30 @@
//    @Excel(name = "日历Id")
    private Long workCalenderId;
    /** 删除标志(0代表存在 2代表删除) */
    @Schema(description = "删除标志(0代表存在 2代表删除)", type = "String")
    private String delFlag;
    /** 日历描述 */
    @Schema(description = "日历描述", type = "String")
    @Excel(name = "日历描述")
    private String workCalender;
    /** 产能模型Id */
    @Schema(description = "产能模型Id", type = "Long")
//    @Excel(name = "产能模型Id")
    private Long modelId;
    /** 日历描述 */
    @Schema(description = "日历描述", type = "String")
    @Excel(name = "日历描述")
    private String workCalender;
    /** 删除标志(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) 
    {
@@ -249,6 +272,7 @@
            .append("updateTime", getUpdateTime())
            .append("modelId", getModelId())
            .append("workCalender", getWorkCalender())
            .append("major", getMajor())
            .toString();
    }
}