package com.aucma.production.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aucma.common.annotation.Excel;
import com.aucma.common.core.domain.BaseEntity;

/**
 * 工位能力维护对象 prod_sta_cap
 *
 * @author Codex
 * @date 2026-03-18
 */
public class ProdStationCapability extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long objId;
    @Excel(name = "工位编码")
    private String stationCode;
    @Excel(name = "工位名称")
    private String stationName;
    @Excel(name = "物料编码")
    private String materialCode;
    @Excel(name = "物料名称")
    private String materialName;
    @Excel(name = "标准节拍")
    private BigDecimal standardCt;
    @Excel(name = "班产能")
    private BigDecimal shiftCap;
    @Excel(name = "日产能")
    private BigDecimal dayCap;
    @Excel(name = "切换时长(分钟)")
    private Long changeoverMin;
    @Excel(name = "责任班组")
    private String teamCode;
    @Excel(name = "班组名称")
    private String teamName;
    @Excel(name = "状态")
    private String status;
    @Excel(name = "创建人")
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    @Excel(name = "更新人")
    private String updatedBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public BigDecimal getStandardCt() {
        return standardCt;
    }

    public void setStandardCt(BigDecimal standardCt) {
        this.standardCt = standardCt;
    }

    public BigDecimal getShiftCap() {
        return shiftCap;
    }

    public void setShiftCap(BigDecimal shiftCap) {
        this.shiftCap = shiftCap;
    }

    public BigDecimal getDayCap() {
        return dayCap;
    }

    public void setDayCap(BigDecimal dayCap) {
        this.dayCap = dayCap;
    }

    public Long getChangeoverMin() {
        return changeoverMin;
    }

    public void setChangeoverMin(Long changeoverMin) {
        this.changeoverMin = changeoverMin;
    }

    public String getTeamCode() {
        return teamCode;
    }

    public void setTeamCode(String teamCode) {
        this.teamCode = teamCode;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getStatus() {
        return status;
    }

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

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("objId", getObjId())
                .append("stationCode", getStationCode())
                .append("stationName", getStationName())
                .append("materialCode", getMaterialCode())
                .append("materialName", getMaterialName())
                .append("standardCt", getStandardCt())
                .append("shiftCap", getShiftCap())
                .append("dayCap", getDayCap())
                .append("changeoverMin", getChangeoverMin())
                .append("teamCode", getTeamCode())
                .append("teamName", getTeamName())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updatedBy", getUpdatedBy())
                .append("updatedTime", getUpdatedTime())
                .toString();
    }
}
