id自增
@GeneratedValue(strategy= GenerationType.IDENTITY)
@Id
private Integer id;
数据库别名
@Column(name = "department_name")
private String name;
id自增
@GeneratedValue(strategy= GenerationType.IDENTITY)
@Id
private Integer id;
数据库别名
@Column(name = "department_name")
private String name;