package com.red.circle.console.app.dto.clienobject.approval;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.dynamic.DynamicPictureDTO;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 审批动态
 * </p>
 *
 * @author pengshigang
 * @since 2022-4-21
 */
@Data
@Accessors(chain = true)
public class ApprovalDynamicCO implements Serializable {

  /**
   * 主键.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 动态内容id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long dynamicId;

  /**
   * 来源系统.
   */
  private String sysOrigin;

  /**
   * 审批状态.
   */
  private String approveStatus;

  /**
   * 动态文字内容
   */
  private String dynamicContent;

  /**
   * 动态内容图片
   */
  private List<DynamicPictureDTO> pictures;

  /**
   * 用户性别:0 女，1 男，2 变性人
   */
  private String userSexName;

  /**
   * 被审批用户信息
   */
  private UserProfileDTO userBaseInfo;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

}
