package com.xzx.gc.entity;
|
|
|
import com.xzx.gc.common.entity.BaseEntity;
|
import lombok.Data;
|
|
import javax.persistence.Table;
|
import java.util.Date;
|
|
@Data
|
@Table(name = "xzx_jhy_order")
|
public class JhyOrder extends BaseEntity {
|
|
private String userId;
|
|
private String orderNo;
|
|
private String username;
|
|
private String phone;
|
|
private String area;
|
|
private String address;
|
|
private Date reserveDate;
|
|
private String reserveTime;
|
|
private Date receivingTime;
|
|
private String longitude;
|
|
private String latitude;
|
|
private String weight;
|
|
/**
|
* 订单状态 状态 1-待接单2-已接单3-已完成(用户)/待入库(集物员)5-已取消
|
*/
|
private Integer status;
|
public static final Integer ORDER_STATUS_WAITING = 1;
|
public static final Integer ORDER_STATUS_IMG = 2;
|
public static final Integer ORDER_STATUS_CONFIRM = 3;
|
public static final Integer ORDER_STATUS_CANCEL = 5;
|
|
/**
|
* 评论
|
*/
|
private String comment;
|
|
/**
|
* 分数
|
*/
|
private Integer score;
|
|
/**
|
* 是否匿名 1-是 2-否
|
*/
|
private Integer isAnonymous;
|
|
/**
|
* 是否已评论 1-是 2-否
|
*/
|
private Integer isCommented;
|
|
private String remark;
|
|
/**
|
* 集物员ID
|
*/
|
private String jhyId;
|
|
}
|