package com.gyee.frame.model.auto;

import java.io.Serializable;
import java.util.Date;

public class P3DeviceFault implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.ID
     *
     * @mbg.generated
     */
    private String id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.CODE
     *
     * @mbg.generated
     */
    private String code;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.FAULTID
     *
     * @mbg.generated
     */
    private String faultid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.HALTTYPE
     *
     * @mbg.generated
     */
    private String halttype;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.NAME
     *
     * @mbg.generated
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.CATEGORY
     *
     * @mbg.generated
     */
    private String category;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.FAULTLEVEL
     *
     * @mbg.generated
     */
    private Integer faultlevel;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.CAUSE
     *
     * @mbg.generated
     */
    private String cause;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.TREATMENTMEASURE
     *
     * @mbg.generated
     */
    private String treatmentmeasure;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.DEVICEMODEL
     *
     * @mbg.generated
     */
    private String devicemodel;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.DEVICETREEID
     *
     * @mbg.generated
     */
    private Integer devicetreeid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.CREATETOR
     *
     * @mbg.generated
     */
    private String createtor;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column P3_DEVICE_FAULT.CREATETIME
     *
     * @mbg.generated
     */
    private Date createtime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table P3_DEVICE_FAULT
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.ID
     *
     * @return the value of P3_DEVICE_FAULT.ID
     *
     * @mbg.generated
     */
    public String getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.ID
     *
     * @param id the value for P3_DEVICE_FAULT.ID
     *
     * @mbg.generated
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.CODE
     *
     * @return the value of P3_DEVICE_FAULT.CODE
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.CODE
     *
     * @param code the value for P3_DEVICE_FAULT.CODE
     *
     * @mbg.generated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.FAULTID
     *
     * @return the value of P3_DEVICE_FAULT.FAULTID
     *
     * @mbg.generated
     */
    public String getFaultid() {
        return faultid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.FAULTID
     *
     * @param faultid the value for P3_DEVICE_FAULT.FAULTID
     *
     * @mbg.generated
     */
    public void setFaultid(String faultid) {
        this.faultid = faultid == null ? null : faultid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.HALTTYPE
     *
     * @return the value of P3_DEVICE_FAULT.HALTTYPE
     *
     * @mbg.generated
     */
    public String getHalttype() {
        return halttype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.HALTTYPE
     *
     * @param halttype the value for P3_DEVICE_FAULT.HALTTYPE
     *
     * @mbg.generated
     */
    public void setHalttype(String halttype) {
        this.halttype = halttype == null ? null : halttype.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.NAME
     *
     * @return the value of P3_DEVICE_FAULT.NAME
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.NAME
     *
     * @param name the value for P3_DEVICE_FAULT.NAME
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.CATEGORY
     *
     * @return the value of P3_DEVICE_FAULT.CATEGORY
     *
     * @mbg.generated
     */
    public String getCategory() {
        return category;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.CATEGORY
     *
     * @param category the value for P3_DEVICE_FAULT.CATEGORY
     *
     * @mbg.generated
     */
    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.FAULTLEVEL
     *
     * @return the value of P3_DEVICE_FAULT.FAULTLEVEL
     *
     * @mbg.generated
     */
    public Integer getFaultlevel() {
        return faultlevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.FAULTLEVEL
     *
     * @param faultlevel the value for P3_DEVICE_FAULT.FAULTLEVEL
     *
     * @mbg.generated
     */
    public void setFaultlevel(Integer faultlevel) {
        this.faultlevel = faultlevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.CAUSE
     *
     * @return the value of P3_DEVICE_FAULT.CAUSE
     *
     * @mbg.generated
     */
    public String getCause() {
        return cause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.CAUSE
     *
     * @param cause the value for P3_DEVICE_FAULT.CAUSE
     *
     * @mbg.generated
     */
    public void setCause(String cause) {
        this.cause = cause == null ? null : cause.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.TREATMENTMEASURE
     *
     * @return the value of P3_DEVICE_FAULT.TREATMENTMEASURE
     *
     * @mbg.generated
     */
    public String getTreatmentmeasure() {
        return treatmentmeasure;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.TREATMENTMEASURE
     *
     * @param treatmentmeasure the value for P3_DEVICE_FAULT.TREATMENTMEASURE
     *
     * @mbg.generated
     */
    public void setTreatmentmeasure(String treatmentmeasure) {
        this.treatmentmeasure = treatmentmeasure == null ? null : treatmentmeasure.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.DEVICEMODEL
     *
     * @return the value of P3_DEVICE_FAULT.DEVICEMODEL
     *
     * @mbg.generated
     */
    public String getDevicemodel() {
        return devicemodel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.DEVICEMODEL
     *
     * @param devicemodel the value for P3_DEVICE_FAULT.DEVICEMODEL
     *
     * @mbg.generated
     */
    public void setDevicemodel(String devicemodel) {
        this.devicemodel = devicemodel == null ? null : devicemodel.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.DEVICETREEID
     *
     * @return the value of P3_DEVICE_FAULT.DEVICETREEID
     *
     * @mbg.generated
     */
    public Integer getDevicetreeid() {
        return devicetreeid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.DEVICETREEID
     *
     * @param devicetreeid the value for P3_DEVICE_FAULT.DEVICETREEID
     *
     * @mbg.generated
     */
    public void setDevicetreeid(Integer devicetreeid) {
        this.devicetreeid = devicetreeid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.CREATETOR
     *
     * @return the value of P3_DEVICE_FAULT.CREATETOR
     *
     * @mbg.generated
     */
    public String getCreatetor() {
        return createtor;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.CREATETOR
     *
     * @param createtor the value for P3_DEVICE_FAULT.CREATETOR
     *
     * @mbg.generated
     */
    public void setCreatetor(String createtor) {
        this.createtor = createtor == null ? null : createtor.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column P3_DEVICE_FAULT.CREATETIME
     *
     * @return the value of P3_DEVICE_FAULT.CREATETIME
     *
     * @mbg.generated
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column P3_DEVICE_FAULT.CREATETIME
     *
     * @param createtime the value for P3_DEVICE_FAULT.CREATETIME
     *
     * @mbg.generated
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}