package org.springblade.gateway.shop_gateway.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: lianghanqiang
 * @description:
 * @since: 8/25/21 -- 6:26 PM
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseOrder {

	@ApiModelProperty("商场id")
	private Long mallId;

	@ApiModelProperty("商店id")
	private Long shopId;

	@ApiModelProperty("用户id")
	private Long loginUserId;

	@ApiModelProperty("金额")
	private BigDecimal money;

	@ApiModelProperty("支付标题")
	private String billsTitle;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("expireTime")
	private LocalDateTime expireTime;

	@ApiModelProperty("appId")
	private String appId;

	@ApiModelProperty("openId")
	private String openId;

	@ApiModelProperty("secret")
	private String secret;

	@ApiModelProperty("积分渠道ID")
	private long channelId;

}
