package cn.stylefeng.workflow.instance.modular.tag.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName("flow_engine_runtime_remark")
@Data
@EqualsAndHashCode(callSuper = true)
public class RuntimeRemark extends BaseEntity {

    @TableId(value = "remark_id", type = IdType.ASSIGN_ID)
    @ChineseDescription("主键")
    private Long remarkId;

    @TableField("instance_id")
    @ChineseDescription("流程实例id")
    private Long instanceId;

    @TableField("user_id")
    @ChineseDescription("标签所属人的id")
    private Long userId;

    @TableField("remark_content")
    @ChineseDescription("流程备注的内容")
    private String remarkContent;

    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    @ChineseDescription("租户号")
    private Long tenantId;

}
