package com.xxfc.platform.vehicle.entity;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "book_record_update_log")
public class BookRecordUpdateLog {
    @Id
    private Integer id;

    /**
     * 订单ID
     */
    @Column(name = "order_id")
    private Integer orderId;

    /**
     * 预定记录ID
     */
    @Column(name = "book_record_id")
    private Long bookRecordId;

    /**
     * 原还车公司ID
     */
    @Column(name = "old_ret_company_id")
    private Integer oldRetCompanyId;

    /**
     * 新还车公司ID
     */
    @Column(name = "new_ret_company_id")
    private Integer newRetCompanyId;

    /**
     * 操作人ID
     */
    @Column(name = "operater_id")
    private Integer operaterId;

    /**
     * 操作人姓名
     */
    @Column(name = "operater_name")
    private String operaterName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    @Transient
    private String oldCompanyName;

    @Transient
    private String newCompanyName;
}