| 14 | import lombok.experimental.Accessors; |
| 15 | |
| 16 | @Data |
| 17 | @AllArgsConstructor |
| 18 | @NoArgsConstructor |
| 19 | @EqualsAndHashCode(callSuper = false) |
| 20 | @Accessors(chain = true) |
| 21 | @ApiModel(value="TbAdmin对象", description="") |
| 22 | public class TbAdmin extends Model<TbAdmin> { |
| 23 | |
| 24 | private static final long serialVersionUID = 1L; |
| 25 | |
| 26 | @ApiModelProperty(value = "编号") |
| 27 | @TableId(value = "id", type = IdType.AUTO) |
| 28 | private Integer id; |
| 29 | |
| 30 | @ApiModelProperty(value = "账号") |
| 31 | @TableField("username") |
| 32 | private String username; |
| 33 | |
| 34 | @ApiModelProperty(value = "密码") |
| 35 | @TableField("password") |
| 36 | private String password; |
| 37 | |
| 38 | // @ApiModelProperty(value = "头像") |
| 39 | // @TableField("headImg") |
| 40 | // private String headImg; |
| 41 | |
| 42 | @Override |
| 43 | protected Serializable pkVal() { |
| 44 | return this.id; |
| 45 | } |
| 46 | |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected