package com.ruoyi.order.model; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; /** *
* *
* * @author luodangjia * @since 2024-11-21 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("t_order") @ApiModel(value="Order对象", description="") public class Order implements Serializable { private static final long serialVersionUID = 1L; @TableId("id") private Long id; @ApiModelProperty(value = "用户id") @TableField("app_user_id") private Long appUserId; @ApiModelProperty(value = "订单类型1服务单2商品") @TableField("order_type") private Integer orderType; @ApiModelProperty(value = "1待发货2待收货3待使用4已完成5已取消6已退款7售后中8已评价") @TableField("order_status") private Integer orderStatus; @ApiModelProperty(value = "是否已分佣: 0-否 1-是") @TableField("is_commission") private Integer isCommission; @ApiModelProperty(value = "核销时间") @TableField("end_time") private LocalDateTime endTime; @ApiModelProperty(value = "售后截止日期") @TableField("after_sale_time") private LocalDateTime afterSaleTime; @ApiModelProperty(value = "技师id") @TableField("technician_id") private Integer technicianId; @ApiModelProperty(value = "订单编号") @TableField("order_number") private String orderNumber; @ApiModelProperty(value = "商品数量") @TableField("num") private Integer num; @ApiModelProperty(value = "商品封面(多张逗号隔开,最多三张))") @TableField("good_pics") private String goodPics; @ApiModelProperty(value = "商品名称(多个名称逗号隔开))") @TableField("good_name") private String goodName; @ApiModelProperty(value = "订单总金额") @TableField("total_amount") private BigDecimal totalAmount; @ApiModelProperty(value = "满减金额") @TableField("full_reduction_amount") private BigDecimal fullReductionAmount; @ApiModelProperty(value = "代金券抵扣金额") @TableField("money_amount") private BigDecimal moneyAmount; @ApiModelProperty(value = "折扣券抵扣金额") @TableField("discount_amount") private BigDecimal discountAmount; @ApiModelProperty(value = "商品券抵扣总金额") @TableField("good_amount") private BigDecimal goodAmount; @ApiModelProperty(value = "活动优惠金额") @TableField("activity_amount") private BigDecimal activityAmount; @ApiModelProperty(value = "优惠总金额") @TableField("discount_total_amount") private BigDecimal discountTotalAmount; @ApiModelProperty(value = "实际支付价格") @TableField("payment_amount") private BigDecimal paymentAmount; @ApiModelProperty(value = "使用积分") @TableField("point") private Integer point; @ApiModelProperty(value = "1微信,2账户余额,3积分") @TableField("pay_method") private Integer payMethod; @ApiModelProperty(value = "使用的优惠劵json") @TableField("coupon_json") private String couponJson; @ApiModelProperty(value = "订单优惠活动的json快照") @TableField("activity_json") private String activityJson; @ApiModelProperty(value = "运费") @TableField("express_amount") private BigDecimal expressAmount; @ApiModelProperty(value = "1微信,2账户余额") @TableField("express_pay_method") private Integer expressPayMethod; @ApiModelProperty(value = "第三方快递信息") @TableField("express_json") private String expressJson; @ApiModelProperty(value = "收货地址信息") @TableField("address_json") private String addressJson; @ApiModelProperty(value = "平台分佣") @TableField("share_amount") private BigDecimal shareAmount; @ApiModelProperty(value = "本单获取的积分") @TableField("get_point") private Integer getPoint; @ApiModelProperty(value = "微信支付号") @TableField("serial_number") private String serialNumber; @ApiModelProperty(value = "1待支付2已支付") @TableField("pay_status") private Integer payStatus; @ApiModelProperty(value = "对应门店id") @TableField("shop_id") private Integer shopId; @ApiModelProperty(value = "删除标志(0=否,1=是)") @TableField("del_flag") @TableLogic private Integer delFlag; @ApiModelProperty(value = "添加时间") @TableField("create_time") private LocalDateTime createTime; @ApiModelProperty(value = "预计提货时间") @TableField("expected_delivery_time") private String expectedDeliveryTime; }