package com.xueyi.nlt.nlt.domain.po;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

import static com.xueyi.common.core.constant.basic.EntityConstants.*;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "init_regular_expression", autoResultMap = true,excludeProperty = { SORT, REMARK, STATUS })
public class DmRegularPo extends TBaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    private String text;

    private String skillCode;

    private String action;

    @TableField(value = "json", typeHandler = JacksonTypeHandler.class)
    private JSONObject json;

    private String expression;

}
