package cn.com.countrygarden.bi.main.model.resident;

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

@Table(name = "resident_quota")
public class ResidentQuota {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 年度
     */
    private Integer year;

    @Column(name = "organ_id")
    private String organId;

    @Column(name = "organ_name")
    private String organName;

    /**
     * 总体
     */
    private BigDecimal total;

    /**
     * 毛利
     */
    private BigDecimal gross;

    /**
     * 房屋配套
     */
    private BigDecimal house;

    /**
     * 场地运营
     */
    private BigDecimal arena;

    /**
     * 团购
     */
    @Column(name = "group_buying")
    private BigDecimal groupBuying;

    /**
     * 旅游
     */
    private BigDecimal tourism;

    /**
     * 汽车服务
     */
    @Column(name = "car_service")
    private BigDecimal carService;

    /**
     * 短租
     */
    @Column(name = "short_rent")
    private BigDecimal shortRent;

    /**
     * 保险
     */
    private BigDecimal insurance;

    /**
     * 社区媒体
     */
    private BigDecimal media;

    /**
     * 其他
     */
    private BigDecimal other;

    /**
     * 是否删除。0 否；1 是
     */
    @Column(name = "is_deleted")
    private Boolean isDeleted;

    @Column(name = "gmt_create")
    private Date gmtCreate;

    @Column(name = "created_by")
    private String createdBy;

    @Column(name = "gmt_modified")
    private Date gmtModified;

    @Column(name = "modified_by")
    private String modifiedBy;

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

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

    /**
     * 获取年度
     *
     * @return year - 年度
     */
    public Integer getYear() {
        return year;
    }

    /**
     * 设置年度
     *
     * @param year 年度
     */
    public void setYear(Integer year) {
        this.year = year;
    }

    /**
     * @return organ_id
     */
    public String getOrganId() {
        return organId;
    }

    /**
     * @param organId
     */
    public void setOrganId(String organId) {
        this.organId = organId == null ? null : organId.trim();
    }

    /**
     * @return organ_name
     */
    public String getOrganName() {
        return organName;
    }

    /**
     * @param organName
     */
    public void setOrganName(String organName) {
        this.organName = organName == null ? null : organName.trim();
    }

    /**
     * 获取总体
     *
     * @return total - 总体
     */
    public BigDecimal getTotal() {
        return total;
    }

    /**
     * 设置总体
     *
     * @param total 总体
     */
    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    /**
     * 获取毛利
     *
     * @return gross - 毛利
     */
    public BigDecimal getGross() {
        return gross;
    }

    /**
     * 设置毛利
     *
     * @param gross 毛利
     */
    public void setGross(BigDecimal gross) {
        this.gross = gross;
    }

    /**
     * 获取房屋配套
     *
     * @return house - 房屋配套
     */
    public BigDecimal getHouse() {
        return house;
    }

    /**
     * 设置房屋配套
     *
     * @param house 房屋配套
     */
    public void setHouse(BigDecimal house) {
        this.house = house;
    }

    /**
     * 获取场地运营
     *
     * @return arena - 场地运营
     */
    public BigDecimal getArena() {
        return arena;
    }

    /**
     * 设置场地运营
     *
     * @param arena 场地运营
     */
    public void setArena(BigDecimal arena) {
        this.arena = arena;
    }

    /**
     * 获取团购
     *
     * @return group_buying - 团购
     */
    public BigDecimal getGroupBuying() {
        return groupBuying;
    }

    /**
     * 设置团购
     *
     * @param groupBuying 团购
     */
    public void setGroupBuying(BigDecimal groupBuying) {
        this.groupBuying = groupBuying;
    }

    /**
     * 获取旅游
     *
     * @return tourism - 旅游
     */
    public BigDecimal getTourism() {
        return tourism;
    }

    /**
     * 设置旅游
     *
     * @param tourism 旅游
     */
    public void setTourism(BigDecimal tourism) {
        this.tourism = tourism;
    }

    /**
     * 获取汽车服务
     *
     * @return car_service - 汽车服务
     */
    public BigDecimal getCarService() {
        return carService;
    }

    /**
     * 设置汽车服务
     *
     * @param carService 汽车服务
     */
    public void setCarService(BigDecimal carService) {
        this.carService = carService;
    }

    /**
     * 获取短租
     *
     * @return short_rent - 短租
     */
    public BigDecimal getShortRent() {
        return shortRent;
    }

    /**
     * 设置短租
     *
     * @param shortRent 短租
     */
    public void setShortRent(BigDecimal shortRent) {
        this.shortRent = shortRent;
    }

    /**
     * 获取保险
     *
     * @return insurance - 保险
     */
    public BigDecimal getInsurance() {
        return insurance;
    }

    /**
     * 设置保险
     *
     * @param insurance 保险
     */
    public void setInsurance(BigDecimal insurance) {
        this.insurance = insurance;
    }

    /**
     * 获取社区媒体
     *
     * @return media - 社区媒体
     */
    public BigDecimal getMedia() {
        return media;
    }

    /**
     * 设置社区媒体
     *
     * @param media 社区媒体
     */
    public void setMedia(BigDecimal media) {
        this.media = media;
    }

    /**
     * 获取其他
     *
     * @return other - 其他
     */
    public BigDecimal getOther() {
        return other;
    }

    /**
     * 设置其他
     *
     * @param other 其他
     */
    public void setOther(BigDecimal other) {
        this.other = other;
    }

    /**
     * 获取是否删除。0 否；1 是
     *
     * @return is_deleted - 是否删除。0 否；1 是
     */
    public Boolean getIsDeleted() {
        return isDeleted;
    }

    /**
     * 设置是否删除。0 否；1 是
     *
     * @param isDeleted 是否删除。0 否；1 是
     */
    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * @return gmt_create
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * @param gmtCreate
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * @return created_by
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * @param createdBy
     */
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    /**
     * @return gmt_modified
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * @param gmtModified
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @return modified_by
     */
    public String getModifiedBy() {
        return modifiedBy;
    }

    /**
     * @param modifiedBy
     */
    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy == null ? null : modifiedBy.trim();
    }
}