package com.red.circle.other.inner.model.cmd.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author pengliang
 * @since 2020-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysCountryCodeCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 两位字母编码.
   */
  private String alphaTwo;

  /**
   * 三位字母编码.
   */
  private String alphaThree;

  /**
   * 数字编码.
   */
  private Integer countryNumeric;

  /**
   * 国家名称.
   */
  private String countryName;

  /**
   * 别名.
   */
  private String aliasName;

  /**
   * 代码分配情况.
   */
  private String assignment;

  /**
   * 国旗.
   */
  private String nationalFlag;

  /**
   * 权重序号.
   */
  private Integer sort;

  /**
   * 权重序号.
   */
  private Boolean open;


  /**
   * 是否置顶 0.未置顶 1.置顶.
   */
  private Boolean top;

  /**
   * 手机前缀.
   */
  private Integer phonePrefix;

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

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

  /**
   * 创建用户.
   */
  private Long createUser;

  /**
   * 修改用户.
   */
  private Long updateUser;

}
