Browse Source

企业签章设置主键自增

tags/24080901
WendyYang 10 months ago
parent
commit
7048039525
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java

+ 4
- 1
hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java View File

@@ -1,5 +1,7 @@
package com.hz.pm.api.signature.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 lombok.Data;
@@ -17,11 +19,12 @@ import java.time.LocalDateTime;
*/
@TableName("nd_company_signature")
@Data
@ApiModel(value = "NdCompanySignature对象", description = "")
@ApiModel(value = "NdCompanySignature对象")
public class CompanySignature implements Serializable {

private static final long serialVersionUID = 1L;

@TableId(type = IdType.AUTO)
private Long id;

private String sealSn;


Loading…
Cancel
Save