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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.autoconfigure.security.SecurityProperties.User;

/**
 * @author pengliang
 * @since 2019/11/9 14:19
 */
@Data
@Accessors(chain = true)
public class SysFeedbackCO implements Serializable {

  @Serial
  private static final long serialVersionUID = -4573794342003694881L;

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

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

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

  /**
   * 用户基本信息.
   */
  private UserProfileDTO userProfile;

  /**
   * 反馈内容.
   */
  private String content;

  /**
   * 反馈图片地址.
   */
  private String imageUrls;

  /**
   * 反馈视频地址.
   */
  private String videoUrls;

  /**
   * 0.未处理 1.已处理 3.待处理.
   */
  private Integer approvalStatus;
  private String approvalStatusName;

  /**
   * 审批备注.
   */
  private String approvalRemarks;

  private Timestamp createTime;
  private Timestamp updateTime;
  private Long createUser;
  private Long updateUser;

  /**
   * 最后修改用户.
   */
  private User lastUpdateUser;

  /**
   * APP版本.
   */
  private String appVersion;

  /**
   * 请求ip.
   */
  private String ip;

  /**
   * 手机型号.
   */
  private String phoneModel;


  /**
   * 机器码.
   */
  private String imei;

  /**
   * 操作人昵称.
   */
  private String updateNickname;

}
