@Data
@Entity
@Table(name = "sys_user")
public class SysUser {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@NaturalId
@Column(unique = true)
private String username;
private String pwd;
Are you trying to ask a question? Please provide a reasonable description of what you’re posting instead of just pasting screenshots with no explanation if you want a response.