package com.dashitech.businessdata.entity;

import com.dashitech.utils.I18n;

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

/**
 * Created by xuweihua on 2020/11/20.
 */
@Entity
@Table(name = "itsm_transport_workorder")
public class WorkOrderEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="id",length = 20)
    private Integer id;

    // 创建科室不展示实体
    @I18n("创建科室")
    @Column(name="create_department_id")
    private Integer  createDept;
    @I18n("起点科室id")
    @Column(name="start_department_id")
    private Integer  startDept;

    @I18n("终点科室")
    @Column(name="end_department_ids")
    private String endDeptIds;

    @I18n("工单状态")
    @Column(name="gdstate")
    private Integer  gdState;

    @I18n("病人唯一标识")
    @Column(name="patientId")
    private String patientId;

    public Integer getId() {
        return id;
    }

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

    public Integer getStartDept() {
        return startDept;
    }

    public void setStartDept(Integer startDept) {
        this.startDept = startDept;
    }

    public Integer getGdState() {
        return gdState;
    }

    public void setGdState(Integer gdState) {
        this.gdState = gdState;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public Integer getCreateDept() {
        return createDept;
    }

    public void setCreateDept(Integer createDept) {
        this.createDept = createDept;
    }

    public String getEndDeptIds() {
        return endDeptIds;
    }

    public void setEndDeptIds(String endDeptIds) {
        this.endDeptIds = endDeptIds;
    }
}
