/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.ldt.bills.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 订单实体类
 *
 * @author BladeX
 * @since 2021-09-26
 */
@Data
@TableName("ldt_goods_bills")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GoodsBills对象", description = "订单")
public class GoodsBills extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 接收人id
	*/
		@ApiModelProperty(value = "接收人id")
		private Long receiveId;
	/**
	* 付款人id
	*/
		@ApiModelProperty(value = "付款人id")
		private Long payId;
	/**
	* 账单id
	*/
		@ApiModelProperty(value = "账单id")
		private Long billsId;
	/**
	* 订单状态
	*/
		@ApiModelProperty(value = "订单状态")
		private String orderStatus;
	/**
	 * 付款状态
	 */
	@ApiModelProperty(value = "付款状态")
	private String payStatus;

	/**
	* 取餐方式
	*/
		@ApiModelProperty(value = "取餐方式")
		private String takeType;
	/**
	 * 取餐时间
	 */
	@ApiModelProperty(value = "取餐时间")
	private LocalDateTime takeTime;
	/**
	* 订单json信息
	*/
		@ApiModelProperty(value = "订单json信息")
		private String goodsPreview;
	/**
	* 商品总数
	*/
		@ApiModelProperty(value = "商品总数")
		private Integer goodsTotalNum;
	/**
	* 商品总价格
	*/
		@ApiModelProperty(value = "商品总价格")
		private Integer totalPrice;
	/**
	* 包装费
	*/
		@ApiModelProperty(value = "包装费")
		private Integer packingPrice;
	/**
	* 配送费
	*/
		@ApiModelProperty(value = "配送费")
		private Integer sendingPrice;


	/**
	* 取单号
	*/
		@ApiModelProperty(value = "取单号")
		private Integer verifyNum;
	/**
	 * 座位号
	 */
	@ApiModelProperty(value = "座位号")
	private String seatNum;
	/**
	* 用户备注、订单取消原因、或其他额外信息
	*/
		@ApiModelProperty(value = "用户备注、订单取消原因、或其他额外信息")
		private String extraInfo;
	/**
	* 过期时间
	*/
		@ApiModelProperty(value = "过期时间")
		private LocalDateTime expireTime;
	/**
	* 支付时间
	*/
		@ApiModelProperty(value = "支付时间")
		private LocalDateTime payTime;
	/**
	* 订单完成时间
	*/
		@ApiModelProperty(value = "订单完成时间")
		private Date finishTime;
	/**
	* 用户联系电话
	*/
		@ApiModelProperty(value = "用户联系电话")
		private String userPhone;
	/**
	* 取餐人
	*/
		@ApiModelProperty(value = "取餐人")
		private String receiver;
	/**
	* 收货地址
	*/
		@ApiModelProperty(value = "收货地址")
		private String addressDetail;


}
