lenboo commented on a change in pull request #1653: Remove @Data annotation and
add @TableField annotation
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/1653#discussion_r364538194
##########
File path:
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/AlertGroup.java
##########
@@ -16,48 +16,27 @@
*/
package org.apache.dolphinscheduler.dao.entity;
+import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.dolphinscheduler.common.enums.AlertType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
import java.util.Date;
-@Data
@TableName("t_ds_alertgroup")
public class AlertGroup {
-
-
- /**
- * primary key
- */
Review comment:
i don't think it's a good idea to remove these notes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services