package com.casic.PgInterface.maintenance.domain;

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

@Entity
@Table(name = "PG_MAINTANCERECORD_HEAD")
@SequenceGenerator(name = "SEQ_PG_MAINTANCERECORD_HEAD_ID", sequenceName = "SEQ_PG_MAINTANCERECORD_HEAD_ID", allocationSize = 1, initialValue = 1)
public class PgMaintanceRecordHead implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String keyId;//数据唯一标识
    private String planKeyId;//维修保养计划ID
    private String planName;//维修保养名称
    private String recordNo;//维修保养单号
    private String reoairMan;//维修人
    private String maintenanceDate;//维修保养日期
    private String buildCabin;//舱室
    private String project;//所属项目
    private String createDate;//创建时间
    private String creator;//创建人

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_PG_MAINTANCERECORD_HEAD_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_KEY_ID")
    public String getPlanKeyId() {
        return planKeyId;
    }

    public void setPlanKeyId(String planKeyId) {
        this.planKeyId = planKeyId;
    }

    @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="REOAIRMAN")
    public String getReoairMan() {
        return reoairMan;
    }

    public void setReoairMan(String reoairMan) {
        this.reoairMan = reoairMan;
    }

    @Column(name="MAINTENANCE_DATE")
    public String getMaintenanceDate() {
        return maintenanceDate;
    }

    public void setMaintenanceDate(String maintenanceDate) {
        this.maintenanceDate = maintenanceDate;
    }

    @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="CREATEDATE")
    public String getCreateDate() {
        return createDate;
    }

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

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

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

}
