方法:使用TableName主鍵在表名加上``
@Data
@TableName("`collect`")
public class Collect implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主鍵")
private Long id;
}
時間:2024-03-21
方法:使用TableName主鍵在表名加上``
@Data
@TableName("`collect`")
public class Collect implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主鍵")
private Long id;
}
時間:2024-03-21