package com.example.removetolocal.newentity.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;

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

/**
 * entity class for send_back_bill_detail
*/
@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "send_back_bill_detail")
public class SendBackBillDetail {

	/**
	* 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")
	private String billFileName;
	/**
	* billFileUrl
	*/
	@Column(name = "bill_file_url")
	private String billFileUrl;
	/**
	* createTime
	*/
	@Column(name = "create_time")
	@CreatedDate
	private Date createTime;
	/**
	* createUserId
	*/
	@Column(name = "create_user_id")
	@CreatedBy
	private Integer createUserId;
	/**
	* deleteTag
	*/
	@Column(name = "delete_tag")
	private Integer deleteTag;
	/**
	* deviceIds
	*/
	@Column(name = "device_ids")
	private String deviceIds;
	/**
	* fileName
	*/
	@Column(name = "file_name")
	private String fileName;
	/**
	* fileUrl
	*/
	@Column(name = "file_url")
	private String fileUrl;
	/**
	* receiveCheckDetail
	*/
	@Column(name = "receive_check_detail")
	private String receiveCheckDetail;
	/**
	* receiveCheckResult
	*/
	@Column(name = "receive_check_result")
	private String receiveCheckResult;
	/**
	* receiveCount
	*/
	@Column(name = "receive_count")
	private Integer receiveCount;
	/**
	* receiveTime
	*/
	@Column(name = "receive_time")
	private Date receiveTime;
	/**
	* receiveUnit
	*/
	@Column(name = "receive_unit")
	private String receiveUnit;
	/**
	* receiveUseraId
	*/
	@Column(name = "receive_usera_id")
	private Integer receiveUseraId;
	/**
	* receiveUseraName
	*/
	@Column(name = "receive_usera_name")
	private String receiveUseraName;
	/**
	* receiveUserbId
	*/
	@Column(name = "receive_userb_id")
	private Integer receiveUserbId;
	/**
	* receiveUserbName
	*/
	@Column(name = "receive_userb_name")
	private String receiveUserbName;
	/**
	* repairDeviceDetail
	*/
	@Column(name = "repair_device_detail")
	private String repairDeviceDetail;
	/**
	* replayNumber
	*/
	@Column(name = "replay_number")
	private String replayNumber;
	/**
	* sendBackCount
	*/
	@Column(name = "send_back_count")
	private Integer sendBackCount;
	/**
	* sendBackStatus
	*/
	@Column(name = "send_back_status")
	private Integer sendBackStatus;
	/**
	* sendCheckDetail
	*/
	@Column(name = "send_check_detail")
	private String sendCheckDetail;
	/**
	* sendCheckResult
	*/
	@Column(name = "send_check_result")
	private String sendCheckResult;
	/**
	* sendTime
	*/
	@Column(name = "send_time")
	private Date sendTime;
	/**
	* sendUnit
	*/
	@Column(name = "send_unit")
	private String sendUnit;
	/**
	* sendUseraId
	*/
	@Column(name = "send_usera_id")
	private Integer sendUseraId;
	/**
	* sendUseraName
	*/
	@Column(name = "send_usera_name")
	private String sendUseraName;
	/**
	* sendUserbId
	*/
	@Column(name = "send_userb_id")
	private Integer sendUserbId;
	/**
	* sendUserbName
	*/
	@Column(name = "send_userb_name")
	private String sendUserbName;
	/**
	* sendedCount
	*/
	@Column(name = "sended_count")
	private Integer sendedCount;
	/**
	* updateTime
	*/
	@Column(name = "update_time")
	@LastModifiedDate
	private Date updateTime;
	/**
	* updateUserId
	*/
	@Column(name = "update_user_id")
	@LastModifiedBy
	private Integer updateUserId;
	/**
	* num
	*/
	@Column(name = "num")
	private String num;
	/**
	* receiveUseraname
	*/
	@Column(name = "receive_useraname")
	private String receiveUseraname;
	/**
	* receiveUserbname
	*/
	@Column(name = "receive_userbname")
	private String receiveUserbname;
	/**
	* sendUseraname
	*/
	@Column(name = "send_useraname")
	private String sendUseraname;
	/**
	* sendUserbname
	*/
	@Column(name = "send_userbname")
	private String sendUserbname;
	/**
	* time
	*/
	@Column(name = "time")
	private Date time;
	/**
	* leftSignatureId
	*/
	@Column(name = "left_signature_id")
	private String leftSignatureId;
	/**
	* rightSignatureId
	*/
	@Column(name = "right_signature_id")
	private String rightSignatureId;
	/**
	* receiveUseraid
	*/
	@Column(name = "receive_useraid")
	private Integer receiveUseraid;
	/**
	* receiveUserbid
	*/
	@Column(name = "receive_userbid")
	private Integer receiveUserbid;
	/**
	* sendUseraid
	*/
	@Column(name = "send_useraid")
	private Integer sendUseraid;
	/**
	* sendUserbid
	*/
	@Column(name = "send_userbid")
	private Integer sendUserbid;
	/**
	* recordId
	*/
	@Column(name = "record_id")
	private String recordId;

}
