package com.tofly.ghrq_route.module.planPointRepair.domain;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "DB_MAINTAIN_ADJUST_PARAM")
@SuppressWarnings("serial")
public class MaintainAdjustParam implements Serializable {
    /**
     * id : 3
     * parentId : null
     * name : 安全阀
     * createUser : 20
     * createUserName : 梁罗
     * createTime : 2020-06-05 16:32:20
     * updateTime : 2020-06-05 16:32:20
     */

    @Id @Unique @NotNull
    private String id;
    private String parentId;
    private String name;
    private String createUser;
    private String createUserName;
    private String createTime;
    private String updateTime;

    @Generated(hash = 1121376940)
    public MaintainAdjustParam(@NotNull String id, String parentId, String name,
            String createUser, String createUserName, String createTime,
            String updateTime) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.createUser = createUser;
        this.createUserName = createUserName;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    @Generated(hash = 1615452248)
    public MaintainAdjustParam() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
