package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.util.Date;
import java.util.List;

/**
 * @author gongbiao
 */
@TableName(value = "wx_data_rule_target")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxDataRuleTarget extends BaseEntity {
    private static final long serialVersionUID = 1L;

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value = "父级ID", name = "parent")
    private Long parent;
    @io.swagger.annotations.ApiModelProperty(value = "用户ID", name = "name")
    private String name;
    @io.swagger.annotations.ApiModelProperty(value = "标签", name = "tag")
    private String tag;
    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    @io.swagger.annotations.ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    @TableField(exist = false)
    private List<WxDataRuleTarget> children;

}
