<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.vote.system.mapper.VoteEventCompetitionZonesMapper">

    <resultMap id="BaseResultMap" type="com.vote.system.domain.VoteEventCompetitionZones">
        <id property="id" column="id" jdbcType="BIGINT"/>
        <result property="eventId" column="event_id" jdbcType="BIGINT"/>
        <result property="workSettingsId" column="work_settings_id" jdbcType="INTEGER"/>
        <result property="roundId" column="round_id" jdbcType="INTEGER"/>
        <result property="name" column="name" jdbcType="VARCHAR"/>
        <result property="provinces" column="provinces" jdbcType="VARCHAR"/>
        <result property="judges" column="judges" jdbcType="VARCHAR"/>
        <result property="isDeleted" column="is_deleted" jdbcType="CHAR"/>
        <result property="status" column="status" jdbcType="CHAR"/>
        <result property="tenantId" column="tenant_id" jdbcType="BIGINT"/>
        <result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
        <result property="updatedAt" column="updated_at" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id
        ,event_id,name,
        provinces,judges,is_deleted,
        tenant_id,created_at,updated_at
    </sql>
</mapper>
