123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- package com.ruoyi.biz.domain;
- import java.math.BigDecimal;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * 设备规格记录对象 twin_device_spec
- *
- * @author ruoyi
- * @date 2024-12-19
- */
- @ApiModel(value = "ITwinDeviceSpec", description = "设备规格记录")
- public class TwinDeviceSpec extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 统计ID */
- private Long specId;
- /** 规格 */
- @Excel(name = "规格")
- @ApiModelProperty("规格")
- private String spec;
- /** 米克重 */
- @Excel(name = "米克重")
- @ApiModelProperty("米克重")
- private Integer mick;
- /** 密度 */
- @Excel(name = "密度")
- @ApiModelProperty("密度")
- private BigDecimal density;
- /** 机台号 */
- @Excel(name = "机台号")
- @ApiModelProperty("机台号")
- private Long deviceId;
- public void setSpecId(Long specId)
- {
- this.specId = specId;
- }
- public Long getSpecId()
- {
- return specId;
- }
- public void setSpec(String spec)
- {
- this.spec = spec;
- }
- public String getSpec()
- {
- return spec;
- }
- public void setMick(Integer mick)
- {
- this.mick = mick;
- }
- public Integer getMick()
- {
- return mick;
- }
- public void setDensity(BigDecimal density)
- {
- this.density = density;
- }
- public BigDecimal getDensity()
- {
- return density;
- }
- public void setDeviceId(Long deviceId)
- {
- this.deviceId = deviceId;
- }
- public Long getDeviceId()
- {
- return deviceId;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("specId", getSpecId())
- .append("spec", getSpec())
- .append("mick", getMick())
- .append("density", getDensity())
- .append("deviceId", getDeviceId())
- .append("createTime", getCreateTime())
- .toString();
- }
- }
|