sequence.java

来自「很好的电子商务系统」· Java 代码 · 共 41 行

JAVA
41
字号
package com.ibatis.jpetstore.domain;

import java.io.Serializable;

public class Sequence implements Serializable {

  /* Private Fields */

  private String name;
  private int nextId;

  /* Constructors */

  public Sequence() {
  }

  public Sequence(String name, int nextId) {
    this.name = name;
    this.nextId = nextId;
  }

  /* JavaBeans Properties */

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getNextId() {
    return nextId;
  }

  public void setNextId(int nextId) {
    this.nextId = nextId;
  }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?