|
|
@@ -1,5 +1,6 @@
|
|
|
package com.aoyang.tms.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import java.time.LocalDateTime;
|
|
|
@@ -30,7 +31,7 @@ public class Shipper implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@ApiModelProperty(value = "id,自增")
|
|
|
- @TableId("shipper_id")
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
|
|
private Long shipperId;
|
|
|
|