package com.example.removetolocal.newentity.entity;

import lombok.Data;
import javax.persistence.*;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import java.util.Date;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;

/**
 * entity class for repair_send_bill
*/
@Data
@Entity
@EntityListeners(AuditingEntityListener.class)
@Table(name = "repair_send_bill")
public class RepairSendBill {

	/**
	* id
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private Integer id;
	/**
	* agent
	*/
	@Column(name = "agent")
	private String agent;
	/**
	* applyNumber
	*/
	@Column(name = "apply_number")
	private String applyNumber;
	/**
	* billFileName
	*/
	@Column(name = "bill_file_name",columnDefinition = "TEXT")
	private String billFileName;
	/**
	* billFileUrl
	*/
	@Column(name = "bill_file_url",columnDefinition = "TEXT")
	private String billFileUrl;
	/**
	* createTime
	*/
	@Column(name = "create_time")
	@CreatedDate
	private java.util.Date createTime;
	/**
	* createUserId
	*/
	@Column(name = "create_user_id")
	@CreatedBy
	private Integer createUserId;
	/**
	* deleteTag
	*/
	@Column(name = "delete_tag")
	private Integer deleteTag = 0;
	/**
	* deviceRepairBillId
	*/
	@Column(name = "device_repair_bill_id")
	private Integer deviceRepairBillId;
	/**
	* fileName
	*/
	@Column(name = "file_name",columnDefinition = "TEXT")
	private String fileName;
	/**
	* fileUrl
	*/
	@Column(name = "file_url",columnDefinition = "TEXT")
	private String fileUrl;
	/**
	* receiveCount
	*/
	@Column(name = "receive_count")
	private Integer receiveCount;
	/**
	* receiveFileName
	*/
	@Column(name = "receive_file_name",columnDefinition = "TEXT")
	private String receiveFileName;
	/**
	* receiveFileUrl
	*/
	@Column(name = "receive_file_url",columnDefinition = "TEXT")
	private String receiveFileUrl;
	/**
	* receiveTime
	*/
	@Column(name = "receive_time")
	private java.util.Date receiveTime;
	/**
	* receiveUnit
	*/
	@Column(name = "receive_unit")
	private String receiveUnit;
	/**
	* recordId
	*/
	@Column(name = "record_id")
	private String recordId;
	/**
	* repairDeviceCheckDetail
	*/
	@Column(name = "repair_device_check_detail",columnDefinition = "TEXT")
	private String repairDeviceCheckDetail;
	/**
	* repairDeviceCheckResult
	*/
	@Column(name = "repair_device_check_result")
	private String repairDeviceCheckResult;
	/**
	* repairDeviceDetail
	*/
	@Column(name = "repair_device_detail",columnDefinition = "TEXT")
	private String repairDeviceDetail;
	/**
	* repairReciveCheckDetail
	*/
	@Column(name = "repair_recive_check_detail",columnDefinition = "TEXT")
	private String repairReciveCheckDetail;
	/**
	* repairReciveCheckResult
	*/
	@Column(name = "repair_recive_check_result")
	private String repairReciveCheckResult;
	/**
	* repairStatus
	*/
	@Column(name = "repair_status")
	private Integer repairStatus;
	/**
	* repairUsera
	*/
	@Column(name = "repair_usera")
	private String repairUsera;
	/**
	* repairUseraId
	*/
	@Column(name = "repair_usera_id")
	private Integer repairUseraId;
	/**
	* repairUserbId
	*/
	@Column(name = "repair_userb_id")
	private Integer repairUserbId;
	/**
	* replayNumber
	*/
	@Column(name = "replay_number")
	private String replayNumber;
	/**
	* sendTime
	*/
	@Column(name = "send_time")
	private java.util.Date sendTime;
	/**
	* sendUnit
	*/
	@Column(name = "send_unit")
	private String sendUnit;
	/**
	* sendedCount
	*/
	@Column(name = "sended_count")
	private Integer sendedCount;
	/**
	* sendingCount
	*/
	@Column(name = "sending_count")
	private Integer sendingCount;
	/**
	* startUseraId
	*/
	@Column(name = "start_usera_id")
	private Integer startUseraId;
	/**
	* startUserbId
	*/
	@Column(name = "start_userb_id")
	private Integer startUserbId;
	/**
	* title
	*/
	@Column(name = "title")
	private String title;
	/**
	* updateTime
	*/
	@Column(name = "update_time")
	@LastModifiedDate
	private java.util.Date updateTime;
	/**
	* updateUserId
	*/
	@Column(name = "update_user_id")
	@LastModifiedBy
	private Integer updateUserId;
	/**
	* sendFiles
	*/
	@Column(name = "send_files",columnDefinition = "TEXT")
	private String sendFiles;

	@Column(name = "receive_files",columnDefinition = "TEXT")
	private String receiveFiles;

	@Column(name = "script_json",columnDefinition = "TEXT")
	private String scriptJson;

	@Column(name = "old_id")
	private Integer oldId;
}
