Presale.java 6.62 KB
/*
 * Copyright (c) 2015 www.diligrp.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.dili.titan.gq.domain;

import com.dili.titan.domain.base.BaseDomain;

import java.util.Date;
import java.util.List;

/**
 * 预售
 *
 * @author dev-center
 * @since 2015-07-24
 */
//TODO 自贸区此表无数据入口
public class Presale extends BaseDomain {
    private static final long serialVersionUID = 1L;
    /**
     * 标题
     */
    private String title;
    /**
     * 联系人
     */
    private String userName;
    /**
     * 分类ID
     */
    private Long categoryId;
    /**
     * 所在地ID
     */
    private Long localityAreaId;
    /**
     * 产量
     */
    private Integer count;
    /**
     * 单位ID
     */
    private Integer unitId;
    /**
     * 联系人手机号
     */
    private String phone;
    /**
     * 状态:1待审核,2-审核通过,3-审核失败,4-已过期,-1-删除
     */
    private Integer status;
    private Long userId;
    /**
     * 来源1-PC;2-手机
     */
    private Integer source;
    /**
     * 审核失败原因
     */
    private String reason;
    /**
     * 预售开始时间
     */
    private Date startTime;
    /**
     * 预售结束时间
     */
    private Date endTime;
    private Date ctime;
    private String utime;

    //    ******************** 以下为业务属性 *********************
    private List<String> imgs;
    /**
     * 后台显示需要 单位名称
     */
    private String unitName;
    private String desc;
    private String localityArea;
    private String cateName;
    /**
     * 分类ID,随便第几级三类
     */
    private Integer queryCateId;
    //查询参数
    private List<Integer> statuses;
    /**
     * 分类ID
     */
    private List<Integer> cateList;

    public Presale() {
        //默认无参构造方法
    }

    public String getLocalityArea() {
        return localityArea;
    }

    public void setLocalityArea(String localityArea) {
        this.localityArea = localityArea;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    /**
     * 获取 categoryId
     *
     * @return
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置 categoryId
     *
     * @param categoryId
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取 count
     *
     * @return
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 设置 count
     *
     * @param count
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * 获取 phone
     *
     * @return
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置 phone
     *
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取 status
     *
     * @return
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置 status
     *
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取 userId
     *
     * @return
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 userId
     *
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 source
     *
     * @return
     */
    public Integer getSource() {
        return source;
    }

    /**
     * 设置 source
     *
     * @param source
     */
    public void setSource(Integer source) {
        this.source = source;
    }

    /**
     * 获取 reason
     *
     * @return
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置 reason
     *
     * @param reason
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 获取 startTime
     *
     * @return
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 设置 startTime
     *
     * @param startTime
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取 endTime
     *
     * @return
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置 endTime
     *
     * @param endTime
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取 ctime
     *
     * @return
     */
    public Date getCtime() {
        return ctime;
    }

    /**
     * 设置 ctime
     *
     * @param ctime
     */
    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    /**
     * 获取 utime
     *
     * @return
     */
    public String getUtime() {
        return utime;
    }

    /**
     * 设置 utime
     *
     * @param utime
     */
    public void setUtime(String utime) {
        this.utime = utime;
    }

    public Long getLocalityAreaId() {
        return localityAreaId;
    }

    public void setLocalityAreaId(Long localityAreaId) {
        this.localityAreaId = localityAreaId;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public List<Integer> getStatuses() {
        return statuses;
    }

    public void setStatuses(List<Integer> statuses) {
        this.statuses = statuses;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    public Integer getQueryCateId() {
        return queryCateId;
    }

    public void setQueryCateId(Integer queryCateId) {
        this.queryCateId = queryCateId;
    }

    public List<Integer> getCateList() {
        return cateList;
    }

    public void setCateList(List<Integer> cateList) {
        this.cateList = cateList;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }
}