EquipmentRepairResponse.java 2.9 KB
package com.skua.modules.equipment.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;

import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 设备维修响应配置表
 */
@Data
@TableName("equipment_repair_response")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="equipment_repair_response对象", description="设备维修响应配置表")
public class EquipmentRepairResponse {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**维修响应规则*/
	@Excel(name = "维修响应规则", width = 15)
    @ApiModelProperty(value = "维修响应规则")
	private String repairStandard;
	/**条件描述*/
	@Excel(name = "条件描述", width = 15)
    @ApiModelProperty(value = "条件描述")
	private String repairRemark;
	/**条件1*/
	@Excel(name = "条件1", width = 15)
    @ApiModelProperty(value = "条件1")
	private String conditionOne;
	/**条件2*/
	@Excel(name = "条件2", width = 15)
    @ApiModelProperty(value = "条件2")
	private String conditionTwo;
	/**判断符号*/
	@Excel(name = "判断符号", width = 15)
    @ApiModelProperty(value = "判断符号")
	private String symbol;
	/**是否推送消息*/
	@Excel(name = "是否推送消息", width = 15)
    @ApiModelProperty(value = "是否推送消息")
	@Dict(dicCode = "yn")
	private String isPush;
	/**创建人id*/
	@Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, 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 createTime;
	/**修改人id*/
	@Excel(name = "修改人id", width = 15)
    @ApiModelProperty(value = "修改人id")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, 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 updateTime;
	/**删除标识,0:正常,1:删除*/
	@Excel(name = "删除标识,0:正常,1:删除", width = 15)
    @ApiModelProperty(value = "删除标识,0:正常,1:删除")
	private Integer delFlag;
}