/***文档注释***********************************************
 * 作者               :                   朱泽鹏
 * 创建日期      :                   2018.2.5
 * 描述               :        			基础信息-附加要求
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
***********************************************************/
package market.Com.vo;

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

import market.Com.mapper.SlmBaseAddAskMapper;

import org.apache.ibatis.type.JdbcType;

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_BASE_ADD_ASK", namespace = SlmBaseAddAskMapper.class)
public class SlmBaseAddAsk extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	// 附加要求编码，根据三层树结构设定
	// 第一层：1210+两位流水号
	// 第二层：上级节点的编码+两位流水号
	// 第三层：上级节点的编码+三位流水号
	private String ask_item_no;

	public String getAsk_item_no() {
		return this.ask_item_no;
	}

	public void setAsk_item_no(String ask_item_no) {
		this.ask_item_no = ask_item_no;
	}

	/**
	 * 附加要求项描述
	 */
	private String ask_desc;

	public String getAsk_desc() {
		return ask_desc;
	}

	public void setAsk_desc(String ask_desc) {
		this.ask_desc = ask_desc;
	}

	@Column
	// 附加要求描述
	private String ask_item_desc;

	public String getAsk_item_desc() {
		return this.ask_item_desc;
	}

	public void setAsk_item_desc(String ask_item_desc) {
		this.ask_item_desc = ask_item_desc;
	}

	@Column
	// 工序点代码
	private String station_code;

	public String getStation_code() {
		return this.station_code;
	}

	public void setStation_code(String station_code) {
		this.station_code = station_code;
	}

	@Column
	// 工序点名称
	private String station_desc;

	public String getStation_desc() {
		return this.station_desc;
	}

	public void setStation_desc(String station_desc) {
		this.station_desc = station_desc;
	}

	@Column(value="PIC", jdbcType=JdbcType.BLOB)
	private byte[] pic;
	
	public byte[] getPic() {
		return pic;
	}

	public void setPic(byte[] pic) { 
		this.pic = pic;
	}


	@Column
	// 父节点编码
	private String ask_p_item_no;

	public String getAsk_p_item_no() {
		return this.ask_p_item_no;
	}

	public void setAsk_p_item_no(String ask_p_item_no) {
		this.ask_p_item_no = ask_p_item_no;
	}

	@Column
	// 有效标志(1:有效，0:无效)
	private String validflag;

	public String getValidflag() {
		return this.validflag;
	}

	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}

	@Column
	// 创建人
	private String create_name;

	public String getCreate_name() {
		return this.create_name;
	}

	public void setCreate_name(String create_name) {
		this.create_name = create_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_name;

	public String getUpdate_name() {
		return this.update_name;
	}

	public void setUpdate_name(String update_name) {
		this.update_name = update_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_name;

	public String getDelete_name() {
		return this.delete_name;
	}

	public void setDelete_name(String delete_name) {
		this.delete_name = delete_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;
	}

	@Column
	// 审批状态(1:已审批，0:未审批)
	private String stdflag;

	public String getStdflag() {
		return this.stdflag;
	}

	public void setStdflag(String stdflag) {
		this.stdflag = stdflag;
	}

	@Column
	// 是否加减价项目
	private String is_add;

	public String getIs_add() {
		return this.is_add;
	}

	public void setIs_add(String is_add) {
		this.is_add = is_add;
	}

	@Column
	// 是否允许业务员编辑
	private String is_allow_edit;

	public String getIs_allow_edit() {
		return this.is_allow_edit;
	}

	public void setIs_allow_edit(String is_allow_edit) {
		this.is_allow_edit = is_allow_edit;
	}

	@Column
	// 是否数值型（0:否,1:是）
	private String is_value;

	public String getIs_value() {
		return this.is_value;
	}

	public void setIs_value(String is_value) {
		this.is_value = is_value;
	}

	private boolean checkBoxFlag;

	public boolean getCheckBoxFlag() {
		return checkBoxFlag;
	}

	public void setCheckBoxFlag(boolean checkBoxFlag) {
		this.checkBoxFlag = checkBoxFlag;
	}

	// 有没有子节点（0:否,1:是）
	private String is_haveNext;

	public String getIs_haveNext() {
		return is_haveNext;
	}

	public void setIs_haveNext(String is_haveNext) {
		this.is_haveNext = is_haveNext;
	}



	//1为新增标志，0为更新
	private String insertFlag;

	public String getInsertFlag() {
		return insertFlag;
	}

	public void setInsertFlag(String insertFlag) {
		this.insertFlag = insertFlag;
	}



}
