/***文档注释***********************************************
 * 作者               :                   易鑫
 * 创建日期      :                   2017.10.24
 * 描述               :        			客户组织机构信息
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
***********************************************************/
package market.Slm.CustomerInformation.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import market.Slm.CustomerInformation.mapper.SlmCustomerOrgMapper;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hnshituo.basic.vo.BaseVO;
import com.hnshituo.orm.annotation.Column;
import com.hnshituo.orm.annotation.Id;
import com.hnshituo.orm.annotation.Table;

@Table(name="SLM_CUSTOMER_ORG", namespace=SlmCustomerOrgMapper.class)
public class SlmCustomerOrg extends BaseVO implements Serializable {
	/**
	 * 	客户组织机构信息表
	 */
	private static final long serialVersionUID = -3435228531627721651L;
	@Id
	//组织机构编号
	private String org_no;
	public String  getOrg_no() {
		return this.org_no;
	}
	public void setOrg_no(String org_no) {
		this.org_no = org_no;
	}

	@Column
	//组织机构名称
	private String org_name;
	public String  getOrg_name() {
		return this.org_name;
	}
	public void setOrg_name(String org_name) {
		this.org_name = org_name;
	}

	@Column
	//客户编号
	private String customer_no;
	public String  getCustomer_no() {
		return this.customer_no;
	}
	public void setCustomer_no(String customer_no) {
		this.customer_no = customer_no;
	}

	@Column
	//客户名称
	private String customer_name;
	public String  getCustomer_name() {
		return this.customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}

	@Column
	//上级组织机构编号
	private String p_org_no;
	public String  getP_org_no() {
		return this.p_org_no;
	}
	public void setP_org_no(String p_org_no) {
		this.p_org_no = p_org_no;
	}

	@Column
	//上级组织机构
	private String p_org_name;
	public String  getP_org_name() {
		return this.p_org_name;
	}
	public void setP_org_name(String p_org_name) {
		this.p_org_name = p_org_name;
	}

	@Column
	//负责人编号
	private String org_leader_no;
	public String  getOrg_leader_no() {
		return this.org_leader_no;
	}
	public void setOrg_leader_no(String org_leader_no) {
		this.org_leader_no = org_leader_no;
	}

	@Column
	//负责人名称
	private String org_leader_name;
	public String  getOrg_leader_name() {
		return this.org_leader_name;
	}
	public void setOrg_leader_name(String org_leader_name) {
		this.org_leader_name = org_leader_name;
	}

	@Column
	//机构人员数量
	private Double org_persons_num;
	public Double  getOrg_persons_num() {
		return this.org_persons_num;
	}
	public void setOrg_persons_num(Double org_persons_num) {
		this.org_persons_num = org_persons_num;
	}

	@Column
	//组织机构职能
	private String org_function;
	public String  getOrg_function() {
		return this.org_function;
	}
	public void setOrg_function(String org_function) {
		this.org_function = org_function;
	}

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//绘制时间
	private Date draw_time;
	public Date  getDraw_time() {
		return this.draw_time;
	}
	public void setDraw_time(Date draw_time) {
		this.draw_time = draw_time;
	}

	@Column
	//状态
	private String valid_flag;
	public String  getValid_flag() {
		return this.valid_flag;
	}
	public void setValid_flag(String valid_flag) {
		this.valid_flag = valid_flag;
	}
	
	@Column
	//备注
	private String memo;
	public String  getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Column
	//创建人编号
	private String create_man_no;
	public String  getCreate_man_no() {
		return this.create_man_no;
	}
	public void setCreate_man_no(String create_man_no) {
		this.create_man_no = create_man_no;
	}

	@Column
	//创建人姓名
	private String create_man_name;
	public String  getCreate_man_name() {
		return this.create_man_name;
	}
	public void setCreate_man_name(String create_man_name) {
		this.create_man_name = create_man_name;
	}

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//创建时间
	private Date create_time;
	public Date  getCreate_time() {
		return this.create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	@Column
	//修改人编号
	private String update_man_no;
	public String  getUpdate_man_no() {
		return this.update_man_no;
	}
	public void setUpdate_man_no(String update_man_no) {
		this.update_man_no = update_man_no;
	}

	@Column
	//修改人姓名
	private String update_man_name;
	public String  getUpdate_man_name() {
		return this.update_man_name;
	}
	public void setUpdate_man_name(String update_man_name) {
		this.update_man_name = update_man_name;
	}

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//修改时间
	private Date update_time;
	public Date  getUpdate_time() {
		return this.update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	@Column
	//删除人编号
	private String delete_man_no;
	public String  getDelete_man_no() {
		return this.delete_man_no;
	}
	public void setDelete_man_no(String delete_man_no) {
		this.delete_man_no = delete_man_no;
	}

	@Column
	//删除人姓名
	private String delete_man_name;
	public String  getDelete_man_name() {
		return this.delete_man_name;
	}
	public void setDelete_man_name(String delete_man_name) {
		this.delete_man_name = delete_man_name;
	}

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//删除时间
	private Date delete_time;
	public Date  getDelete_time() {
		return this.delete_time;
	}
	public void setDelete_time(Date delete_time) {
		this.delete_time = delete_time;
	}
	
	
	private List<SlmCustomerOrg> children;
	public List<SlmCustomerOrg> getChildren() {
		return children;
	}
	public void setChildren(List<SlmCustomerOrg> children) {
		this.children = children;
	}

	

}
