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

import java.util.Date;

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

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import cn.com.countrygarden.bi.main.util.DateTimeDeserializer;
import cn.com.countrygarden.bi.main.util.DateTimeSerializer;
/**
 * 单一项目项目性质
 * 
 * <pre>
 * 。
 * </pre>
 * 
 * @author developer developer@meicloud.com
 * @version 1.00.00
 * 
 *          <pre>
 * 修改记录
 *    修改后版本:     修改人：  修改日期:     修改内容:
 * </pre>
 */
@Table(name = "project_only_nature")
public class ProjectOnlyNature {
		@Id
	    @GeneratedValue(strategy = GenerationType.IDENTITY)
	    private Integer id;
		
		 /**
	     * 名称
	     */
	    @Column(name = "name")
	    private String name;
	    
	    @JsonSerialize(using = DateTimeSerializer.class)
	    @JsonDeserialize(using = DateTimeDeserializer.class)
	    @Column(name = "created_date")
	    private Date createdDate;

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

	    @JsonSerialize(using = DateTimeSerializer.class)
	    @JsonDeserialize(using = DateTimeDeserializer.class)
	    @Column(name = "updated_date")
	    private Date updatedDate;

	    @Column(name = "updated_by")
	    private String updatedBy;
	    
	    /**
	     * 是否可用，0为可用，1为删除
	     */
	    @Column(name = "is_delete")
	    private Integer isDelete;
	    @Column(name = "sort")
	    private Integer sort;
	    
	    
	    public Integer getSort() {
			return sort;
		}


		public void setSort(Integer sort) {
			this.sort = sort;
		}
		public Integer getId() {
			return id;
		}

		
		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public Date getCreatedDate() {
			return createdDate;
		}

		public void setCreatedDate(Date createdDate) {
			this.createdDate = createdDate;
		}

		public String getCreatedBy() {
			return createdBy;
		}

		public void setCreatedBy(String createdBy) {
			this.createdBy = createdBy;
		}

		public Date getUpdatedDate() {
			return updatedDate;
		}

		public void setUpdatedDate(Date updatedDate) {
			this.updatedDate = updatedDate;
		}

		public String getUpdatedBy() {
			return updatedBy;
		}

		public void setUpdatedBy(String updatedBy) {
			this.updatedBy = updatedBy;
		}

		public Integer getIsDelete() {
			return isDelete;
		}

		public void setIsDelete(Integer isDelete) {
			this.isDelete = isDelete;
		}
	    
	    
}
