package com.aps.core.domain; 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 lombok.Data; 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_gas_pipeline_capacity_plan * * @author hjy * @date 2025-04-24 */ @Data @Schema(description = "气体管路产能规划实体类") public class ApsGasPipelineCapacityPlan extends BaseEntity { private static final long serialVersionUID = 1L; @Id @TableId(type = IdType.AUTO) /** 主键id */ @JsonFormat(shape = JsonFormat.Shape.STRING) @Schema(description = "主键id", type = "Long") private Long id; /** 工序名称 */ @Excel(name = "工序名称") @Schema(description = "工序名称", type = "Long") private String processName; /** 年 */ @Excel(name = "年") @Schema(description = "年", type = "String") private String year; /** 月 */ @Excel(name = "月") @Schema(description = "月", type = "String") private String month; /** 专业 */ @Excel(name = "专业") @Schema(description = "专业", type = "String") private String major; /** 日产出类型 */ @Excel(name = "日产出类型") @Schema(description = "日产出类型", type = "String") private String dayProduceType; /** 日产出数量 */ @Excel(name = "日产出数量") @Schema(description = "日产出数量", type = "BigDecimal") private BigDecimal dayProduceNum; /** 日产出单位 */ @Excel(name = "日产出单位") @Schema(description = "日产出单位", type = "String") private String dayProduceUnit; /** 人员数量 */ @Excel(name = "人员数量") @Schema(description = "人员数量", type = "BigDecimal") private BigDecimal personnelNumber; /** 日产出总数量 */ @Excel(name = "日产出总数量") @Schema(description = "日产出总数量", type = "BigDecimal") private BigDecimal dayProduceAllNum; /** 天数 */ @Excel(name = "天数") @Schema(description = "天数", type = "BigDecimal") private BigDecimal days; /** 月产出总数量 */ @Excel(name = "月产出总数量") @Schema(description = "月产出总数量", type = "BigDecimal") private BigDecimal monthProduceAllNum; /** 工厂代码 **/ @Excel(name = "工厂代码") @Schema(description = "工厂代码", type = "String") private String orgCode; /** 车间 */ @Excel(name = "车间") @Schema(description = "车间", type = "String") private String workshop; public void setOrgCode(String orgCode) { this.orgCode = orgCode; } public String getOrgCode() { return orgCode; } public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setProcessName(String processName) { this.processName = processName; } public String getProcessName() { return processName; } public void setYear(String year) { this.year = year; } public String getYear() { return year; } public void setMonth(String month) { this.month = month; } public String getMonth() { return month; } public void setMajor(String major) { this.major = major; } public String getMajor() { return major; } public void setDayProduceType(String dayProduceType) { this.dayProduceType = dayProduceType; } public String getDayProduceType() { return dayProduceType; } public void setDayProduceNum(BigDecimal dayProduceNum) { this.dayProduceNum = dayProduceNum; } public BigDecimal getDayProduceNum() { return dayProduceNum; } public void setDayProduceUnit(String dayProduceUnit) { this.dayProduceUnit = dayProduceUnit; } public String getDayProduceUnit() { return dayProduceUnit; } public void setPersonnelNumber(BigDecimal personnelNumber) { this.personnelNumber = personnelNumber; } public BigDecimal getPersonnelNumber() { return personnelNumber; } public void setDayProduceAllNum(BigDecimal dayProduceAllNum) { this.dayProduceAllNum = dayProduceAllNum; } public BigDecimal getDayProduceAllNum() { return dayProduceAllNum; } public void setDays(BigDecimal days) { this.days = days; } public BigDecimal getDays() { return days; } public void setMonthProduceAllNum(BigDecimal monthProduceAllNum) { this.monthProduceAllNum = monthProduceAllNum; } public BigDecimal getMonthProduceAllNum() { return monthProduceAllNum; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("processName", getProcessName()) .append("year", getYear()) .append("month", getMonth()) .append("major", getMajor()) .append("dayProduceType", getDayProduceType()) .append("dayProduceNum", getDayProduceNum()) .append("dayProduceUnit", getDayProduceUnit()) .append("personnelNumber", getPersonnelNumber()) .append("dayProduceAllNum", getDayProduceAllNum()) .append("days", getDays()) .append("monthProduceAllNum", getMonthProduceAllNum()) .append("remark", getRemark()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .toString(); } }