package com.yeejoin.amos.boot.module.common.api.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author system_generator
 * @date 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cb_failure_details")
public class FailureDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 当前状态
     */
	@TableField("current_status")
    private Integer currentStatus;

    /**
     * 故障单号
     */
	@TableField("failure_code")
    private String failureCode;

    /**
     * 故障设备ID
     */
	@TableField("failure_equipment_id")
    private Integer failureEquipmentId;

    /**
     * 故障设备
     */
	@TableField("failure_equipment")
    private String failureEquipment;

    /**
     * 故障时间
     */
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "YYYY-MM-dd")
	@TableField("fault_time")
    private String faultTime;

    /**
     * 故障现象
     */
	@TableField("fault_phenomenon")
    private String faultPhenomenon;

    /**
     * 报送人
     */
	@TableField("submission_name")
    private String submissionName;

    /**
     * 报送人ID
     */
	@TableField("submission_pid")
    private Integer submissionPid;

    /**
     * 组织code
     */
	@TableField("biz_code")
    private Long bizCode;

    /**
     * 报送时间
     */
	@TableField("submission_time")
    private Date submissionTime;

    /**
     * 送达部门
     */
	@TableField("submission_branch")
    private String submissionBranch;

    /**
     * 送达部门ID
     */
	@TableField("submission_branch_id")
    private Long submissionBranchId;

    /**
     * 流程ID
     */
	@TableField("process_id")
    private String processId;

}
