FangJianJun_branch
方建军 9 months ago
parent 51536b4301
commit 2e37262a8b

@ -0,0 +1,217 @@
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* @author lanhai
* @description Order
* 便便
*/
@Data
// 使用@TableName注解指定该实体类对应的数据库表名为"tz_order"用于MyBatis Plus框架建立实体与表的映射关系
@TableName("tz_order")
public class Order implements Serializable {
private static final long serialVersionUID = 6222259729062826852L;
/**
* @description ID使@TableId"tz_order"
*/
@TableId
private Long orderId;
/**
* @description idid
*/
private Long shopId;
/**
* @description
*
*/
private String prodName;
/**
* @description ID
* 便
*/
private String userId;
/**
* @description
*
*/
private String orderNumber;
/**
* @description
*/
private Double total;
/**
* @description
*
*/
private Double actualTotal;
/**
* @description 1 2
* 便退
*/
private Integer payType;
/**
* @description
* 便
*/
private String remarks;
/**
* @description
* - -1
* - 0
* - 1
* - 2
* - 3
*
*/
private Integer status;
/**
* @description
* 便
*/
private String dvyType;
/**
* @description ID
*
*/
private Long dvyId;
/**
* @description
* 便
*/
private String dvyFlowId;
/**
* @description
*
*/
private Double freightAmount;
/**
* @description Id
*
*/
private Long addrOrderId;
/**
* @description 便
*
*/
private Integer productNums;
/**
* @description 使@DateTimeFormat"yyyy-MM-dd HH:mm:ss"
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/**
* @description 使@DateTimeFormat
* 便
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
/**
* @description 使@DateTimeFormat
* 退
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date payTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date dvyTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date finallyTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date cancelTime;
/**
* @description 10
* 退
*/
private Integer isPayed;
/**
* @description
* - 0
* - 1
* - 2
* 便
*/
private Integer deleteStatus;
/**
* @description 退退
* - 0退
* - 1退退
* - 2退便退
*/
private Integer refundSts;
/**
* @description
*
*/
private Double reduceAmount;
/**
* @description 使@TableField(exist = false)"tz_order"
*
* 便
*/
@TableField(exist = false)
private String shopName;
/**
* @description 使@TableField(exist = false)
* OrderItemID
* 便
*/
@TableField(exist = false)
private List<OrderItem> orderItems;
/**
* @description 使@TableField(exist = false)
* UserAddrOrder
* 便
*/
@TableField(exist = false)
private UserAddrOrder userAddrOrder;
}
Loading…
Cancel
Save