123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531 |
- package com.hssx.cloudmodel.entity;
- import java.math.BigDecimal;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.time.LocalDateTime;
- import com.baomidou.mybatisplus.annotation.TableField;
- import java.io.Serializable;
- /**
- * <p>
- *
- * </p>
- *
- * @author seya
- * @since 2020-08-16
- */
- @TableName("tb_mould")
- public class Mould extends Model<Mould> {
- private static final long serialVersionUID=1L;
- /**
- * 主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 模具编号
- */
- @TableField("model_no")
- private String modelNo;
- /**
- * 模具名称
- */
- @TableField("model_name")
- private String modelName;
- /**
- * 水隙
- */
- @TableField("water_gap")
- private BigDecimal waterGap;
- /**
- * 吨位
- */
- @TableField("tonnage")
- private BigDecimal tonnage;
- /**
- * 每模平均周期
- */
- @TableField("oc_cycle")
- private BigDecimal ocCycle;
- /**
- * 日输出量
- */
- @TableField("daily_output")
- private BigDecimal dailyOutput;
- /**
- * 所属资产方公司id
- */
- @TableField("company_id")
- private Integer companyId;
- /**
- * 当前版本id
- */
- @TableField("current_version_id")
- private Integer currentVersionId;
- /**
- * 状态0-静止 1-运动 3-待报废 4-已报废 5-异常,6-掉线
- */
- @TableField("state")
- private String state;
- /**
- * 是否删除
- */
- @TableField("is_delete")
- private Integer isDelete;
- /**
- * 创建者id
- */
- @TableField("creator_id")
- private Integer creatorId;
- /**
- * 项目id
- */
- @TableField("project_id")
- private Integer projectId;
- /**
- * 模具对应的射频识别
- */
- @TableField("rfid")
- private String rfid;
- /**
- * 使用寿命 单位:次
- */
- @TableField("setting_life")
- private Integer settingLife;
- /**
- * 生产方公司位置
- */
- @TableField("area")
- private String area;
- /**
- * 生产方名称
- */
- @TableField("produce_company_name")
- private String produceCompanyName;
- /**
- * 初始模次(保养设定次数)
- */
- @TableField("initial_modulus")
- private Integer initialModulus;
- /**
- * 对应设备id
- */
- @TableField("equipment_id")
- private Integer equipmentId;
- /**
- * 在项目中所属的部分如:1/10
- */
- @TableField("belong_project_grade")
- private String belongProjectGrade;
- /**
- * 生产方公司id
- */
- @TableField("produce_company_id")
- private Integer produceCompanyId;
- /**
- * 运行次数
- */
- @TableField("run_times")
- private Integer runTimes;
- /**
- * 保养提醒 0-不需要,1-需要
- */
- @TableField("is_maintain")
- private Integer isMaintain;
- /**
- * 日常保养设定次数:1,2,3
- */
- @TableField("maintain_count")
- private String maintainCount;
- /**
- * 穴数
- */
- @TableField("holes")
- private String holes;
- /**
- * 更新前的id
- */
- @TableField("pre_update_id")
- private Integer preUpdateId;
- /**
- * 历史运行次数只对换绑云模盒时进行处理
- */
- @TableField("history_run_times")
- private Integer historyRunTimes;
- /**
- * 接受设备上传数据的时间
- */
- @TableField("last_rec_time")
- private LocalDateTime lastRecTime;
- /**
- * 固定保养次数
- */
- @TableField("fixed_maintain_count")
- private String fixedMaintainCount;
- /**
- * 移模状态:0-未申请,1-申请移模待审核,2-审核通过,3-审核不通过
- */
- @TableField("move_apply_state")
- private Integer moveApplyState;
- /**
- * 移模原因
- */
- @TableField("move_apply_reason")
- private String moveApplyReason;
- /**
- * 移模时间
- */
- @TableField("move_apply_time")
- private String moveApplyTime;
- /**
- * 移模地点
- */
- @TableField("move_apply_address")
- private String moveApplyAddress;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getModelNo() {
- return modelNo;
- }
- public void setModelNo(String modelNo) {
- this.modelNo = modelNo;
- }
- public String getModelName() {
- return modelName;
- }
- public void setModelName(String modelName) {
- this.modelName = modelName;
- }
- public BigDecimal getWaterGap() {
- return waterGap;
- }
- public void setWaterGap(BigDecimal waterGap) {
- this.waterGap = waterGap;
- }
- public BigDecimal getTonnage() {
- return tonnage;
- }
- public void setTonnage(BigDecimal tonnage) {
- this.tonnage = tonnage;
- }
- public BigDecimal getOcCycle() {
- return ocCycle;
- }
- public void setOcCycle(BigDecimal ocCycle) {
- this.ocCycle = ocCycle;
- }
- public BigDecimal getDailyOutput() {
- return dailyOutput;
- }
- public void setDailyOutput(BigDecimal dailyOutput) {
- this.dailyOutput = dailyOutput;
- }
- public Integer getCompanyId() {
- return companyId;
- }
- public void setCompanyId(Integer companyId) {
- this.companyId = companyId;
- }
- public Integer getCurrentVersionId() {
- return currentVersionId;
- }
- public void setCurrentVersionId(Integer currentVersionId) {
- this.currentVersionId = currentVersionId;
- }
- public String getState() {
- return state;
- }
- public void setState(String state) {
- this.state = state;
- }
- public Integer getIsDelete() {
- return isDelete;
- }
- public void setIsDelete(Integer isDelete) {
- this.isDelete = isDelete;
- }
- public Integer getCreatorId() {
- return creatorId;
- }
- public void setCreatorId(Integer creatorId) {
- this.creatorId = creatorId;
- }
- public Integer getProjectId() {
- return projectId;
- }
- public void setProjectId(Integer projectId) {
- this.projectId = projectId;
- }
- public String getRfid() {
- return rfid;
- }
- public void setRfid(String rfid) {
- this.rfid = rfid;
- }
- public Integer getSettingLife() {
- return settingLife;
- }
- public void setSettingLife(Integer settingLife) {
- this.settingLife = settingLife;
- }
- public String getArea() {
- return area;
- }
- public void setArea(String area) {
- this.area = area;
- }
- public String getProduceCompanyName() {
- return produceCompanyName;
- }
- public void setProduceCompanyName(String produceCompanyName) {
- this.produceCompanyName = produceCompanyName;
- }
- public Integer getInitialModulus() {
- return initialModulus;
- }
- public void setInitialModulus(Integer initialModulus) {
- this.initialModulus = initialModulus;
- }
- public Integer getEquipmentId() {
- return equipmentId;
- }
- public void setEquipmentId(Integer equipmentId) {
- this.equipmentId = equipmentId;
- }
- public String getBelongProjectGrade() {
- return belongProjectGrade;
- }
- public void setBelongProjectGrade(String belongProjectGrade) {
- this.belongProjectGrade = belongProjectGrade;
- }
- public Integer getProduceCompanyId() {
- return produceCompanyId;
- }
- public void setProduceCompanyId(Integer produceCompanyId) {
- this.produceCompanyId = produceCompanyId;
- }
- public Integer getRunTimes() {
- return runTimes;
- }
- public void setRunTimes(Integer runTimes) {
- this.runTimes = runTimes;
- }
- public Integer getIsMaintain() {
- return isMaintain;
- }
- public void setIsMaintain(Integer isMaintain) {
- this.isMaintain = isMaintain;
- }
- public String getMaintainCount() {
- return maintainCount;
- }
- public void setMaintainCount(String maintainCount) {
- this.maintainCount = maintainCount;
- }
- public String getHoles() {
- return holes;
- }
- public void setHoles(String holes) {
- this.holes = holes;
- }
- public Integer getPreUpdateId() {
- return preUpdateId;
- }
- public void setPreUpdateId(Integer preUpdateId) {
- this.preUpdateId = preUpdateId;
- }
- public Integer getHistoryRunTimes() {
- return historyRunTimes;
- }
- public void setHistoryRunTimes(Integer historyRunTimes) {
- this.historyRunTimes = historyRunTimes;
- }
- public LocalDateTime getLastRecTime() {
- return lastRecTime;
- }
- public void setLastRecTime(LocalDateTime lastRecTime) {
- this.lastRecTime = lastRecTime;
- }
- public String getFixedMaintainCount() {
- return fixedMaintainCount;
- }
- public void setFixedMaintainCount(String fixedMaintainCount) {
- this.fixedMaintainCount = fixedMaintainCount;
- }
- public Integer getMoveApplyState() {
- return moveApplyState;
- }
- public void setMoveApplyState(Integer moveApplyState) {
- this.moveApplyState = moveApplyState;
- }
- public String getMoveApplyReason() {
- return moveApplyReason;
- }
- public void setMoveApplyReason(String moveApplyReason) {
- this.moveApplyReason = moveApplyReason;
- }
- public String getMoveApplyTime() {
- return moveApplyTime;
- }
- public void setMoveApplyTime(String moveApplyTime) {
- this.moveApplyTime = moveApplyTime;
- }
- public String getMoveApplyAddress() {
- return moveApplyAddress;
- }
- public void setMoveApplyAddress(String moveApplyAddress) {
- this.moveApplyAddress = moveApplyAddress;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "Mould{" +
- "id=" + id +
- ", modelNo=" + modelNo +
- ", modelName=" + modelName +
- ", waterGap=" + waterGap +
- ", tonnage=" + tonnage +
- ", ocCycle=" + ocCycle +
- ", dailyOutput=" + dailyOutput +
- ", companyId=" + companyId +
- ", currentVersionId=" + currentVersionId +
- ", state=" + state +
- ", isDelete=" + isDelete +
- ", creatorId=" + creatorId +
- ", projectId=" + projectId +
- ", rfid=" + rfid +
- ", settingLife=" + settingLife +
- ", area=" + area +
- ", produceCompanyName=" + produceCompanyName +
- ", initialModulus=" + initialModulus +
- ", equipmentId=" + equipmentId +
- ", belongProjectGrade=" + belongProjectGrade +
- ", produceCompanyId=" + produceCompanyId +
- ", runTimes=" + runTimes +
- ", isMaintain=" + isMaintain +
- ", maintainCount=" + maintainCount +
- ", holes=" + holes +
- ", preUpdateId=" + preUpdateId +
- ", historyRunTimes=" + historyRunTimes +
- ", lastRecTime=" + lastRecTime +
- ", fixedMaintainCount=" + fixedMaintainCount +
- ", moveApplyState=" + moveApplyState +
- ", moveApplyReason=" + moveApplyReason +
- ", moveApplyTime=" + moveApplyTime +
- ", moveApplyAddress=" + moveApplyAddress +
- "}";
- }
- }
|