瀏覽代碼

增减自增主键注解

tags/24080901
CMM 1 年之前
父節點
當前提交
667bfd8bbe
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/staging/model/entity/WorkNoticeStaging.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/staging/model/entity/WorkNoticeStaging.java 查看文件

@@ -1,5 +1,7 @@
package com.ningdatech.pmapi.staging.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
@@ -31,6 +33,7 @@ public class WorkNoticeStaging implements Serializable {
private static final long serialVersionUID = 1L;

@ApiModelProperty("主键")
@TableId(type = IdType.AUTO)
private Long id;

@ApiModelProperty("浙政钉用户ID")


Loading…
取消
儲存