package com.red.circle.other.infra.database.rds.entity.approval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 审核动态内容.
 * </p>
 *
 * @author pengshigang
 * @since 2022-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("approval_dynamic_content")
public class ApprovalDynamicContent extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 被审批用户id.
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 被审批动态id.
   */
  @TableField("dynamic_id")
  private Long dynamicId;

  /**
   * 审核状态.
   */
  @TableField("approve_status")
  private String approveStatus;

  /**
   * 审批来源:1.App 0.后台.
   */
  @TableField("origin_type")
  private Boolean originType;

}
