package org.jeecg.modules.dry.entity;
|
|
import java.io.Serializable;
|
import java.io.UnsupportedEncodingException;
|
import java.util.Date;
|
import java.math.BigDecimal;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* @Description: dry_eqp_fault
|
* @Author: jeecg-boot
|
* @Date: 2024-11-13
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("dry_fault_record")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="dry_eqp_fault对象", description="dry_eqp_fault")
|
public class DryFaultRecord implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**id*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "id")
|
private String id;
|
/**工单id*/
|
@Excel(name = "工单id", width = 15)
|
@ApiModelProperty(value = "工单id")
|
private String orderId;
|
/**故障名称*/
|
@Excel(name = "故障名称", width = 15)
|
@ApiModelProperty(value = "故障名称")
|
private String faultName;
|
/**故障code*/
|
@Excel(name = "故障code", width = 15)
|
@ApiModelProperty(value = "工单id")
|
private String faultCode;
|
/**故障类型*/
|
@Excel(name = "故障类型", width = 15)
|
@ApiModelProperty(value = "故障类型")
|
private Integer faultType;
|
/**故障描述*/
|
@Excel(name = "故障描述", width = 15)
|
@ApiModelProperty(value = "故障描述")
|
private String faultDesc;
|
/**故障状态*/
|
@Excel(name = "故障状态", width = 15)
|
@ApiModelProperty(value = "故障状态")
|
private Integer faultStatu;
|
/**开始时间*/
|
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "开始时间")
|
private Date startTime;
|
/**结束时间*/
|
@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "结束时间")
|
private Date endTime;
|
/**创建人*/
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
/**创建日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "创建日期")
|
private Date createTime;
|
/**更新人*/
|
@ApiModelProperty(value = "更新人")
|
private String updateBy;
|
/**更新日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "更新日期")
|
private Date updateTime;
|
|
public DryFaultRecord() {
|
}
|
|
public DryFaultRecord(String orderId, String faultName,Integer faultType, Date startTime, Date endTime) {
|
this.orderId = orderId;
|
this.faultName = faultName;
|
this.startTime = startTime;
|
this.endTime = endTime;
|
this.faultType = faultType;
|
}
|
}
|