package com.jcdm.main.bs.workshop.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.jcdm.common.annotation.Excel; import com.jcdm.common.core.domain.BaseEntity; /** * 车间信息对象 bs_workshop_info * * @author jc * @date 2023-12-06 */ public class BsWorkshopInfo extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private Long id; /** 车间编码 */ @Excel(name = "车间编码") private String workshopCode; /** 车间名称 */ @Excel(name = "车间名称") private String workshopName; /** 备用字段1 */ private String spareField1; /** 备用字段2 */ private String spareField2; /** 备注 */ @Excel(name = "备注") private String remarks; /** 创建人 */ @Excel(name = "创建人") private String createUser; /** 更新人 */ @Excel(name = "更新人") private String updateUser; @Excel(name = "状态") private String status; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getWorkshopCode() { return workshopCode; } public void setWorkshopName(String workshopName) { this.workshopName = workshopName; } public String getWorkshopName() { return workshopName; } public void setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField1() { return spareField1; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public String getSpareField2() { return spareField2; } public void setStatus(String status) { this.status = status; } public String getStatus() {return status;} public void setRemarks(String remarks) { this.remarks = remarks; } public String getRemarks() { return remarks; } public void setCreateUser(String createUser) { this.createUser = createUser; } public String getCreateUser() { return createUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } public String getUpdateUser() { return updateUser; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("workshopCode", getWorkshopCode()) .append("workshopName", getWorkshopName()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("remarks", getRemarks()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateUser", getUpdateUser()) .append("updateTime", getUpdateTime()) .append("status", getStatus()) .toString(); } }