Pārlūkot izejas kodu

增减自增主键注解

tags/24080901
CMM pirms 1 gada
vecāks
revīzija
667bfd8bbe
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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")


Notiek ielāde…
Atcelt
Saglabāt