package cn.stylefeng.workflow.design.modular.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;

import java.math.BigDecimal;

@TableName("flow_user_comment")
@Data
@EqualsAndHashCode(callSuper = true)
public class FlowUserComment extends BaseEntity {

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

    @TableField("user_id")
    @ChineseDescription("所属用户id")
    private Long userId;

    @TableField("comment_content")
    @ChineseDescription("用户意见")
    private String commentContent;

    @TableField("fld_sort")
    @ChineseDescription("意见排序")
    private BigDecimal fldSort;

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

}