LymsOrder.java 1.96 KB
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
package com.lyms.talkonlineweb.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
* @ProjectName: talkonline
* @Package: com.lyms.talkonlineweb.domain
* @ClassName: LymsAttention
* @Author: lqy
* @Description: 订单
* @Date: 2021-09-10 16:08
* @Version:
*/
@TableName(value ="lyms_order")
@Data
@ToString
public class LymsOrder extends BaseModel implements Serializable {

/**
*
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;

/**
* 订单编号
*/
@TableField(value = "orderno")
private String orderno;

/**
* 患者id
*/
@TableField(value = "pid")
private Integer pid;

/**
* 商品编号
*/
@TableField(value = "gid")
private Integer gid;


/**
* 价格
*/
@TableField(value = "price")
private int price;
/**
* 购买数量
*/
@TableField(value = "cnt")
private Integer cnt;

/**
* 订单状态 订单生成(0),支付成功(1),处理完成(2),处理失败(-1)
*/
@TableField(value = "status")
private Integer status;

/**
* 支付订单号
*/
@TableField(value = "payorderid")
private String payorderid;

/**
* 用户微信openid
*/
@TableField(value = "openid")
private String openid;



/**
* 创建人
*/
@TableField(value = "createdby")
private Integer createdby;

/**
* 创建时间
*/
@TableField(value = "createdtime")
private Date createdtime;

/**
* 更新人
*/
@TableField(value = "updatedby")
private String updatedby;

/**
* 更新时间
*/
@TableField(value = "updatedtime")
private Date updatedtime;

}