package com.pj.bank_byte;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Model: bank_byte -- 银行回执信息字节码表
 * @author lbl
 */
@Data
@Accessors(chain = true)
@TableName(BankByte.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class BankByte extends Model<BankByte> implements Serializable {
	public BankByte() {

	}
	public BankByte(String messageId, String body, String queueName, Integer finishStatus, Date createTime) {
		this.messageId = messageId;
		this.body = body;
		this.queueName = queueName;
		this.finishStatus = finishStatus;
		this.createTime = createTime;
	}
// ---------- 模块常量 ----------
	/**
	 * 序列化版本id
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 此模块对应的表名
	 */
	public static final String TABLE_NAME = "bank_byte";
	/**
	 * 此模块对应的权限码
	 */
	public static final String PERMISSION_CODE = "bank-byte";
	public static final String PERMISSION_CODE_ADD = "bank-byte-add";
	public static final String PERMISSION_CODE_EDIT = "bank-byte-edit";
	public static final String PERMISSION_CODE_DEL = "bank-byte-del";




	// ---------- 表中字段 ----------
	/**
	 * 字节表主键
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * mq消息主键
	 */
	private String messageId;

	/**
	 * 字节数据主体
	 */
	private String body;

	/**
	 * mq队列名称
	 */
	private String queueName;

	/**
	 * 完成对象转换状态
	 */
	private Integer finishStatus;

	/**
	 * 创建时间
	 */
	private Date createTime;

}
