package com.trs.ggzyexchange.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 行政区划表
 * </p>
 *
 * @author trs
 * @since 2023-02-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TRegion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 区域代码
     */
    private String code;

    @TableField(exist = false)
    private String codePram;

    @TableField(exist = false)
    private String platformCode;
    /**
     * 区域名称
     */
    private String name;

    /**
     * 上级区域代码
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String parentCode;

    /**
     * 是否启用
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String isAble;

    /**
     * 排序号
     */

    private Integer orderNum;

    /**
     * 主页banner图
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String bannerName;

    /**
     * 层级
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String regionLevel;

    /**
     * 区域简称
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String shortName;

    /**
     * 老的删除标志
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String isDelete;


}
