package com.red.circle.other.inner.model.dto.user.reigon;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 区域辅助数据.
 *
 * @author pengshigang on 2023/03/14
 */
@Data
@Accessors(chain = true)
public class SysRegionAssistConfigDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 规则id.
   */
  private String id;

  /**
   * 系统管理.
   */
  private String sysOrigin;

  /**
   * 区域Id.
   */
  private String regionId;

  private String regionName;

  /**
   * 业务类型.
   */
  private String type;

  private String typeName;

  /**
   * 业务数据.
   */
  private String data;

  /**
   * 图片URL.
   */
  private String imgUrl;

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

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

  /**
   * 创建用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;

  /**
   * 修改用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long updateUser;

}
