diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java b/pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java index a47d767..e1d0af8 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java @@ -1,7 +1,10 @@ package com.ningdatech.pmapi.gov.model.entity; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; @@ -19,6 +22,8 @@ import java.time.LocalDateTime; public class GovBizProjectDraft implements Serializable { private static final long serialVersionUID = 1L; + @ApiModelProperty("主键") + @TableId(type = IdType.AUTO) private Long id; private String baseProjId; private String baseProjName;