package com.cool.store.entity.decoration;

import java.util.Date;
import javax.persistence.*;

@Table(name = "zxjp_team_area_mapping")
public class TeamAreaMappingDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 团队ID
     */
    @Column(name = "team_id")
    private Long teamId;

    /**
     * 城市ID
     */
    @Column(name = "open_city_id")
    private Long openCityId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取团队ID
     *
     * @return team_id - 团队ID
     */
    public Long getTeamId() {
        return teamId;
    }

    /**
     * 设置团队ID
     *
     * @param teamId 团队ID
     */
    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    /**
     * 获取城市ID
     *
     * @return open_city_id - 城市ID
     */
    public Long getOpenCityId() {
        return openCityId;
    }

    /**
     * 设置城市ID
     *
     * @param openCityId 城市ID
     */
    public void setOpenCityId(Long openCityId) {
        this.openCityId = openCityId;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}