| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @ApiModel(value = "Order对象", description = "订单管理") |
| | | public class Order extends BaseEntity { |
| | | |
| | | @TableId(value = "id",type = IdType.AUTO) |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("下单城市") |
| | | @TableField("city") |
| | | private String city; |
| | | |
| | | @ApiModelProperty("订单编号") |
| | | @TableField("order_number") |
| | |
| | | @TableField("reservation_address") |
| | | private String reservationAddress; |
| | | |
| | | @ApiModelProperty("上门时间") |
| | | @ApiModelProperty("上门时间段") |
| | | @TableField("time") |
| | | private Date time; |
| | | private String time; |
| | | |
| | | @ApiModelProperty("接单时间(师傅接单或后台派单,更新该字段时间)") |
| | | @TableField("accept_time") |
| | |
| | | @TableField("state") |
| | | private Integer state; |
| | | |
| | | @ApiModelProperty("师傅到达预约地点时间") |
| | | @TableField("arrive_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date arriveTime; |
| | | |
| | | @ApiModelProperty("订单类型(0:正常订单,1:后台订单(后台订单与用户端、师傅端无联系))") |
| | | @TableField("type") |
| | | private Integer type; |
| | |
| | | @TableField("complete_time") |
| | | private Date completeTime; |
| | | |
| | | @ApiModelProperty("订单补贴金额") |
| | | @TableField("subsidy") |
| | | private BigDecimal subsidy; |
| | | |
| | | @ApiModelProperty("是否已提现(0:未提现,1:已提现)") |
| | | @TableField("is_withdrawal") |
| | | private Integer isWithdrawal; |
| | | |
| | | @ApiModelProperty("详细地址") |
| | | @TableField("address") |
| | | private String address; |
| | | |
| | | @ApiModelProperty("订单取消原因") |
| | | @TableField("cancel_reason") |
| | | private String cancelReason; |
| | | |
| | | @ApiModelProperty("再投原因") |
| | | @TableField(exist = false) |
| | | private String applyReason; |
| | | |
| | | } |