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 com.red.circle.framework.dto.DTO;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 区域关系.
 * </p>
 *
 * @author pengshigang
 * @since 2023-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RegionRelationDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 区域名称.
   */
  private String regionName;

  /**
   * 关联ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long relationId;

  /**
   * 业务描述.
   */
  private String relationDesc;

  /**
   * 业务类型分组 RegionRelationGroupEnum.
   */
  private String groupType;

  /**
   * 0.下架 1.上架.
   */
  private Boolean showcase;

}
