|
@@ -1,9 +1,11 @@
|
|
|
package com.zd.bottle.domain;
|
|
package com.zd.bottle.domain;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
+import com.zd.common.core.annotation.Excel;
|
|
|
import com.zd.common.core.web.domain.BaseBean;
|
|
import com.zd.common.core.web.domain.BaseBean;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
+import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.EqualsAndHashCode;
|
|
|
import lombok.Getter;
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
import lombok.Setter;
|
|
@@ -21,13 +23,41 @@ import java.util.Date;
|
|
|
* @author hanson
|
|
* @author hanson
|
|
|
* @since 2022-09-08
|
|
* @since 2022-09-08
|
|
|
*/
|
|
*/
|
|
|
-@Getter
|
|
|
|
|
-@Setter
|
|
|
|
|
|
|
+@Data
|
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
|
@ApiModel(value = "BottleStorage对象", description = "气瓶入库表")
|
|
@ApiModel(value = "BottleStorage对象", description = "气瓶入库表")
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
public class BottleStorage extends BaseBean {
|
|
public class BottleStorage extends BaseBean {
|
|
|
|
|
|
|
|
|
|
+ @Excel(name = "操作人")
|
|
|
|
|
+ @ApiModelProperty("入库人姓名")
|
|
|
|
|
+ private String userName;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "联系方式")
|
|
|
|
|
+ @ApiModelProperty("入库人联系方式")
|
|
|
|
|
+ private String userPhone;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "标签吗")
|
|
|
|
|
+ @ApiModelProperty("电子标签")
|
|
|
|
|
+ private String electronicTag;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "气瓶编号")
|
|
|
|
|
+ @ApiModelProperty("气瓶编号")
|
|
|
|
|
+ private String airNumber;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "气体名称")
|
|
|
|
|
+ @ApiModelProperty("气体名称")
|
|
|
|
|
+ private String airName;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "气瓶规格")
|
|
|
|
|
+ @ApiModelProperty("规格详情")
|
|
|
|
|
+ private String configName;
|
|
|
|
|
+
|
|
|
|
|
+ @Excel(name = "入库时间" ,type = Excel.Type.ALL,dateFormat = "yyyy-MM-dd HH:mm")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
|
|
+ private Date createTime;
|
|
|
|
|
+
|
|
|
@ApiModelProperty("是否有手轮 1有 0无")
|
|
@ApiModelProperty("是否有手轮 1有 0无")
|
|
|
private Short isHandwheel;
|
|
private Short isHandwheel;
|
|
|
|
|
|
|
@@ -46,6 +76,9 @@ public class BottleStorage extends BaseBean {
|
|
|
@ApiModelProperty("气表压力")
|
|
@ApiModelProperty("气表压力")
|
|
|
private BigDecimal gasPressure;
|
|
private BigDecimal gasPressure;
|
|
|
|
|
|
|
|
|
|
+ @ApiModelProperty("最低气压值")
|
|
|
|
|
+ private BigDecimal minPressure;
|
|
|
|
|
+
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
@ApiModelProperty("检验有效期(开始时间)")
|
|
@ApiModelProperty("检验有效期(开始时间)")
|
|
|
private Date validateStartTime;
|
|
private Date validateStartTime;
|
|
@@ -54,30 +87,18 @@ public class BottleStorage extends BaseBean {
|
|
|
@ApiModelProperty("检验有效期(结束时间)")
|
|
@ApiModelProperty("检验有效期(结束时间)")
|
|
|
private Date validateEndTime;
|
|
private Date validateEndTime;
|
|
|
|
|
|
|
|
- @ApiModelProperty("电子标签")
|
|
|
|
|
- private String electronicTag;
|
|
|
|
|
-
|
|
|
|
|
@ApiModelProperty("余量是否符合 0符合 1不符合")
|
|
@ApiModelProperty("余量是否符合 0符合 1不符合")
|
|
|
private Integer isSurplus;
|
|
private Integer isSurplus;
|
|
|
|
|
|
|
|
@ApiModelProperty("当前压力值")
|
|
@ApiModelProperty("当前压力值")
|
|
|
private BigDecimal currentPressure;
|
|
private BigDecimal currentPressure;
|
|
|
|
|
|
|
|
- @ApiModelProperty("气瓶编号")
|
|
|
|
|
- private String airNumber;
|
|
|
|
|
-
|
|
|
|
|
@ApiModelProperty("验收备注")
|
|
@ApiModelProperty("验收备注")
|
|
|
private String validateRemark;
|
|
private String validateRemark;
|
|
|
|
|
|
|
|
@ApiModelProperty("入库状态 1闲置 2使用 3出库")
|
|
@ApiModelProperty("入库状态 1闲置 2使用 3出库")
|
|
|
private Integer storageStatus;
|
|
private Integer storageStatus;
|
|
|
|
|
|
|
|
- @ApiModelProperty("入库人姓名")
|
|
|
|
|
- private String userName;
|
|
|
|
|
-
|
|
|
|
|
- @ApiModelProperty("入库人联系方式")
|
|
|
|
|
- private String userPhone;
|
|
|
|
|
-
|
|
|
|
|
@ApiModelProperty("部门名称")
|
|
@ApiModelProperty("部门名称")
|
|
|
private String deptName;
|
|
private String deptName;
|
|
|
|
|
|
|
@@ -87,13 +108,20 @@ public class BottleStorage extends BaseBean {
|
|
|
@ApiModelProperty("实验室名称")
|
|
@ApiModelProperty("实验室名称")
|
|
|
private String subjectName;
|
|
private String subjectName;
|
|
|
|
|
|
|
|
- @ApiModelProperty("气体名称")
|
|
|
|
|
- private String airName;
|
|
|
|
|
-
|
|
|
|
|
@ApiModelProperty("气体组分")
|
|
@ApiModelProperty("气体组分")
|
|
|
private String airComponent;
|
|
private String airComponent;
|
|
|
|
|
|
|
|
- @ApiModelProperty("规格详情")
|
|
|
|
|
- private String configName;
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public Date getCreateTime() {
|
|
|
|
|
+ return createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
|
|
+ this.createTime = createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
}
|
|
}
|