package com.casic.PgInterface.maintenance.domain;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "PG_ASSET_INSPECTION_RECORD")
@SequenceGenerator(name = "SEQ_PG_ASSET_RECORD_ID", sequenceName = "SEQ_PG_ASSET_RECORD_ID", allocationSize = 1, initialValue = 1)
public class PgAssetInSpectionRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String keyId;//巡检记录单id
    private String planId;//巡检计划ID
    private String createDate;//创建时间
    private String state;//巡检记录状态
    private String creator;//创建人
    private String planName;//计划名称
    private String recordNo;//记录单号
    private String planNo;//巡检计划编号
    private String responsibleDept;//负责单位部门小组
    private String inspectionPerson;//计划巡检人
    private String patrolMan;//巡检人
    private String operateDate;//计划巡检日期
    private String remark;//巡检记录
    private String buildCabin;//舱室
    private String project;//所属项目
    private String startPileNo;//开始桩号
    private String endPileNo;//结束桩号
    private String inspectionPrace;//巡检地点
    private String otherPatrolMan;//其他巡检人

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_PG_ASSET_RECORD_ID")
    public Long getId() {
        return id;
    }

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

    @Column(name="KEY_ID")
    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    @Column(name="PLAN_ID")
    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    @Column(name="CREATE_DATE")
    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    @Column(name="STATE")
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Column(name="CREATOR")
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Column(name="PLAN_NAME")
    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    @Column(name="RECORD_NO")
    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    @Column(name="PLAN_NO")
    public String getPlanNo() {
        return planNo;
    }

    public void setPlanNo(String planNo) {
        this.planNo = planNo;
    }

    @Column(name="RESPONSIBIE_DEPT")
    public String getResponsibleDept() {
        return responsibleDept;
    }

    public void setResponsibleDept(String responsibleDept) {
        this.responsibleDept = responsibleDept;
    }

    @Column(name="INSPECTION_PERSON")
    public String getInspectionPerson() {
        return inspectionPerson;
    }

    public void setInspectionPerson(String inspectionPerson) {
        this.inspectionPerson = inspectionPerson;
    }

    @Column(name="PATROL_MAN")
    public String getPatrolMan() {
        return patrolMan;
    }

    public void setPatrolMan(String patrolMan) {
        this.patrolMan = patrolMan;
    }

    @Column(name="OPERATE_DATE")
    public String getOperateDate() {
        return operateDate;
    }

    public void setOperateDate(String operateDate) {
        this.operateDate = operateDate;
    }

    @Column(name="REMARK")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Column(name="BUILD_CABIN")
    public String getBuildCabin() {
        return buildCabin;
    }

    public void setBuildCabin(String buildCabin) {
        this.buildCabin = buildCabin;
    }

    @Column(name="PROJECT")
    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    @Column(name="START_PILE_NO")
    public String getStartPileNo() {
        return startPileNo;
    }

    public void setStartPileNo(String startPileNo) {
        this.startPileNo = startPileNo;
    }

    @Column(name="END_PILE_NO")
    public String getEndPileNo() {
        return endPileNo;
    }

    public void setEndPileNo(String endPileNo) {
        this.endPileNo = endPileNo;
    }

    @Column(name="INSPECTION_PRACE")
    public String getInspectionPrace() {
        return inspectionPrace;
    }

    public void setInspectionPrace(String inspectionPrace) {
        this.inspectionPrace = inspectionPrace;
    }

    @Column(name="OTHER_PATROL_MAN")
    public String getOtherPatrolMan() {
        return otherPatrolMan;
    }

    public void setOtherPatrolMan(String otherPatrolMan) {
        this.otherPatrolMan = otherPatrolMan;
    }
}
