| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- package com.ruoyi.system.domain;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.ruoyi.common.annotation.Excel;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import javax.persistence.GeneratedValue;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * posorder对象 pos_order
- *
- * @author ruoyi
- * @date 2023-05-23
- */
- @Data
- @TableName(value = "pos_order")
- @EqualsAndHashCode(callSuper = false)
- public class PosOrder {
- private static final long serialVersionUID = 1L;
- @TableId(type = IdType.AUTO)
- @GeneratedValue
- /** id */
- private Long id;
- /**
- * 订单号
- */
- private String ddId;
- /**
- * 商家id
- */
- @Excel(name = "商家id")
- private Long shId;
- /**
- * 门店id
- */
- @Excel(name = "门店id")
- private Long mdId;
- /**
- * 创建时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
- private Date cretim;
- /**
- * 收货地址id
- */
- @Excel(name = "收货地址id")
- private Long shdzId;
- /**
- * 收货地址
- */
- @Excel(name = "收货地址")
- private String shAddress;
- /**
- * 下单用户id
- */
- @Excel(name = "下单用户id")
- private Long userId;
- /**
- * 订单合计金额
- */
- @Excel(name = "订单合计金额")
- private Integer amount;
- /**
- * 备注
- */
- @Excel(name = "备注")
- private String remarks;
- /**
- * 订单状态
- */
- @Excel(name = "订单状态")
- private Long state;
- /**
- * 订单类型:0外送,1自取,2堂食
- */
- @Excel(name = "订单类型")
- private Long type;
- /**
- * 配送时间
- */
- @Excel(name = "配送时间")
- private String delryTime;
- /**
- * 订单商品
- */
- @Excel(name = "订单商品")
- private String food;
- /**
- * 距离
- */
- @Excel(name = "距离")
- private Double jvli;
- /**
- * 运费
- */
- @Excel(name = "运费")
- private Double freight;
- /**
- * 经度
- */
- @Excel(name = "经度")
- private BigDecimal longitude;
- /**
- * 纬度
- */
- @Excel(name = "纬度")
- private BigDecimal latitude;
- /**
- * 出餐状态
- */
- @Excel(name = "出餐状态")
- private Long diningStatus;
- private Long kefuState;
- private String kefuContent;
- private Long kefuRepeat;
- private Long repeatDdId;
- /**
- * 骑手id
- */
- @Excel(name = "骑手id")
- private Long qsId;
- /**
- * 距离骑手
- */
- // @Excel(name = "距离骑手")
- private transient Double juli;
- //骑手图片
- private String qsImg;
- /**
- * 支付地址
- */
- // @Excel(name = "支付地址")
- private String payUrl;
- /**
- * 到付/现金支付
- */
- // @Excel(name = "到付")
- private String collectPayment;
- // /** 商品價格 */
- // @Excel(name = "商品價格")
- private transient String priceAll;
- /**
- * 创建时间范围
- **/
- private transient String[] dateRange;
- private transient String cretimStart;
- private transient String cretimEnd;
- private transient String userType;
- private transient String appealCount;
- /**
- * 平台促销活动id
- */
- private Long activity;
- /**
- * 门店促销活动id
- */
- private Long mdActivity;
- /**
- * 使用优惠券id
- */
- @Excel(name = "平台优惠券")
- private Long yhId;
- /**
- * 平台优惠券名称
- */
- @Excel(name = "平台优惠券名称")
- private String yhName;
- /**
- * 平台优惠券优惠金额
- */
- @Excel(name = "平台优惠券优惠金额")
- private Integer discountAmount;
- /**
- * 门店优惠券id
- */
- @Excel(name = "门店优惠券")
- private Long mdYhId;
- /**
- * 门店优惠券名称
- */
- @Excel(name = "门店优惠券名称")
- private String mdYhName;
- /**
- * 门店优惠券优惠金额
- */
- @Excel(name = "门店优惠券优惠金额")
- private Integer mdDiscountAmount;
- /**
- * 平台促銷活動名稱
- */
- @Excel(name = "平台促銷活動名稱")
- private String salesName;
- /**
- * 门店促銷活動名稱
- */
- @Excel(name = "门店促銷活動名稱")
- private String mdSalesName;
- /**
- * 平台促销減免值
- */
- @Excel(name = "平台促销減免值")
- private Integer salesReduction;
- /**
- * 门店促销減免值
- */
- @Excel(name = "门店促销減免值")
- private Integer mdSalesReduction;
- /**
- * 积分
- */
- @Excel(name = "积分")
- private Integer points;
- /**
- * 积分抵扣值
- */
- @Excel(name = "积分抵扣值")
- private Integer pointsReduction;
- /**
- * 送达时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @Excel(name = "送达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
- private Date sdTime;
- /**
- * 支付方式 1 到付 2 vnpay 3 zalopay 二维码支付 :4 银行卡 5
- */
- private String payType;
- /**
- * 预计送达时间
- */
- private String yjsdTime;
- /**
- * 父订单号
- */
- private String parentDdId;
- /**
- * 订单分类
- */
- private String orderCategory;
- /**
- * 餐桌码ID,关联 table_qrcode.id
- */
- private Long tableId;
- private String tableNo;
- /**
- * 店铺 logo
- */
- private String logo;
- /**
- * 店铺名称
- */
- private String posName;
- /**
- * 商品总金额
- */
- private Integer foodAmount;
- /** 取餐号 */
- private Long pickUpNum;
- /** 商家是否已接单 */
- private Boolean isAccepted;
- /** 是否显示 */
- private Boolean isDisplay;
- /**
- * 显示时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date displayTime;
- }
|