| | |
| | | package com.aps.core.domain; |
| | | |
| | | import com.aps.common.core.web.domain.BaseEntity; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | |
| | | */ |
| | | @Schema(description = "物料产品组数据管理实体类") |
| | | @Data |
| | | public class ApsMaterialProductGroupManagement extends BaseEntity |
| | | { |
| | | public class ApsMaterialProductGroupManagement extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | |
| | | @Schema(description = "ID") |
| | | private Long id; |
| | | |
| | | /** 适用工厂 参考 aps_factory */ |
| | | /** |
| | | * 适用工厂 参考 aps_factory |
| | | */ |
| | | @Excel(name = "适用工厂 参考 aps_factory") |
| | | @Schema(description = "适用工厂 参考 aps_factory") |
| | | private String factory; |
| | | |
| | | /** 料号 */ |
| | | /** |
| | | * 料号 |
| | | */ |
| | | @Excel(name = "料号") |
| | | @Schema(description = "料号") |
| | | private String materialCode; |
| | | |
| | | /** 专业 参考 aps_domain */ |
| | | /** |
| | | * 专业 参考 aps_domain |
| | | */ |
| | | @Excel(name = "专业 参考 aps_domain") |
| | | @Schema(description = "专业 参考 aps_domain") |
| | | private String domain; |
| | | |
| | | /** 是否为主阶 是/否 */ |
| | | /** |
| | | * 是否为主阶 是/否 |
| | | */ |
| | | @Excel(name = "是否为主阶 是/否") |
| | | @Schema(description = "是否为主阶 是/否") |
| | | private String isMain; |
| | | |
| | | /** 料号类别 制造件/采购件 */ |
| | | @JsonIgnore |
| | | @TableField(exist = false) |
| | | private String key; |
| | | |
| | | public String getKey() { |
| | | if (key == null) { |
| | | key = getFactory() + "##" + getMaterialCode(); |
| | | } |
| | | return key; |
| | | } |
| | | |
| | | /** |
| | | * 料号类别 制造件/采购件 |
| | | */ |
| | | @Excel(name = "料号类别 制造件/采购件") |
| | | @Schema(description = "料号类别 制造件/采购件") |
| | | private String materialType; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setFactory(String factory) |
| | | { |
| | | public void setFactory(String factory) { |
| | | this.factory = factory; |
| | | } |
| | | |
| | | public String getFactory() |
| | | { |
| | | public String getFactory() { |
| | | return factory; |
| | | } |
| | | |
| | | public void setMaterialCode(String materialCode) |
| | | { |
| | | public void setMaterialCode(String materialCode) { |
| | | this.materialCode = materialCode; |
| | | } |
| | | |
| | | public String getMaterialCode() |
| | | { |
| | | public String getMaterialCode() { |
| | | return materialCode; |
| | | } |
| | | |
| | | public void setDomain(String domain) |
| | | { |
| | | public void setDomain(String domain) { |
| | | this.domain = domain; |
| | | } |
| | | |
| | | public String getDomain() |
| | | { |
| | | public String getDomain() { |
| | | return domain; |
| | | } |
| | | |
| | | public void setIsMain(String isMain) |
| | | { |
| | | public void setIsMain(String isMain) { |
| | | this.isMain = isMain; |
| | | } |
| | | |
| | | public String getIsMain() |
| | | { |
| | | public String getIsMain() { |
| | | return isMain; |
| | | } |
| | | |
| | | public void setMaterialType(String materialType) |
| | | { |
| | | public void setMaterialType(String materialType) { |
| | | this.materialType = materialType; |
| | | } |
| | | |
| | | public String getMaterialType() |
| | | { |
| | | public String getMaterialType() { |
| | | return materialType; |
| | | } |
| | | |