From 242725f795b4cca830421c07f714a3ec36af0add Mon Sep 17 00:00:00 2001 From: hjl <1657978663@qq.com> Date: 星期二, 02 七月 2024 13:59:39 +0800 Subject: [PATCH] feat: 代码初始化、腾讯云短信SDK --- ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/entity/Order.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/entity/Order.java b/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/entity/Order.java index d794fce..c93b7ff 100644 --- a/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/entity/Order.java +++ b/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/entity/Order.java @@ -27,8 +27,12 @@ @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") @@ -134,4 +138,8 @@ @TableField("address") private String address; + @ApiModelProperty("置顶顺序") + @TableField("top_sort") + private Integer topSort; + } -- Gitblit v1.7.1