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

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <pre>
 * 。媒体资源表DTO
 * </pre>
 * 
 * @author developer developer@meicloud.com
 * @version 1.00.00
 * 
 *          <pre>
 * 修改记录
 *    修改后版本:     修改人：  修改日期:     修改内容:
 * </pre>
 */
@Table(name = "tb_site_resources")
public class MediaResources {
	/**
	 * 主键id
	 */
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
	/**
	 * 区域名称
	 */
	@Column(name = "organ_name")
	private String organName;
	/**
	 * 项目名称
	 */
	@Column(name = "comm_name")
	private String commName;
	/**
	 * 媒体资源类型
	 */
	@Column(name = "media_type")
	private String mediaType;
	/**
	 * 位置
	 */
	@Column(name = "location")
	private String location;
	/**
	 * 规格
	 */
	@Column(name = "specification")
	private String specification;
	/**
	 * 已出租
	 */
	@Column(name = "whether_rent")
	private int whetherRet;
	/**
	 * 内部使用数量
	 */
	@Column(name = "internal_use_number")
	private int internalUseNumber;
	/**
	 * 闲置数量
	 */
	@Column(name = "idle_number")
	private int idleNumber;
	
	/**
	 * 总数量
	 */
	@Column(name = "total")
	private int total;
	
	/**
	 * 录入时间
	 */
	@Column(name = "create_date")
	private Date createDate;
	
	
	private String organCode;
	
	private int commId;
	//分页条件
	private int pageIndex;
	private int pageSize; 
	private String AccessToken;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOrganName() {
		return organName;
	}
	public void setOrganName(String organName) {
		this.organName = organName;
	}
	public String getCommName() {
		return commName;
	}
	public void setCommName(String commName) {
		this.commName = commName;
	}
	public String getMediaType() {
		return mediaType;
	}
	public void setMediaType(String mediaType) {
		this.mediaType = mediaType;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}	
	public int getWhetherRet() {
		return whetherRet;
	}
	public void setWhetherRet(int whetherRet) {
		this.whetherRet = whetherRet;
	}
	public int getInternalUseNumber() {
		return internalUseNumber;
	}
	public void setInternalUseNumber(int internalUseNumber) {
		this.internalUseNumber = internalUseNumber;
	}
	public int getIdleNumber() {
		return idleNumber;
	}
	public void setIdleNumber(int idleNumber) {
		this.idleNumber = idleNumber;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}

	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public int getPageIndex() {
		return pageIndex;
	}
	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public String getAccessToken() {
		return AccessToken;
	}
	public void setAccessToken(String accessToken) {
		AccessToken = accessToken;
	}
	public String getOrganCode() {
		return organCode;
	}
	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}
	public int getCommId() {
		return commId;
	}
	public void setCommId(int commId) {
		this.commId = commId;
	}
	
}
