/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-05-07
 * 描述            ：物料基础信息表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Pms.Mat.vo;
import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.JdbcType;

import market.Pms.Mat.mapper.PurMatMMapper;

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="PUR_MAT_M", namespace=PurMatMMapper.class)
public class PurMatM extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 
	 * 物料编码
	 */ 
	@Id
	private String item_code;
	public String getItem_code() {
		return this.item_code;
	}
	public void setItem_code(String item_code) {
		this.item_code = item_code;
	}

	/** 
	 * 物料描述
	 */ 
	@Column
	private String item_desc;
	public String getItem_desc() {
		return this.item_desc;
	}
	public void setItem_desc(String item_desc) {
		this.item_desc = item_desc;
	}

	/** 
	 * 物料名称
	 */ 
	@Column
	private String item_name;
	public String getItem_name() {
		return this.item_name;
	}
	public void setItem_name(String item_name) {
		this.item_name = item_name;
	}

	/** 
	 * 物料英文名称
	 */ 
	@Column
	private String item_desc_e;
	public String getItem_desc_e() {
		return this.item_desc_e;
	}
	public void setItem_desc_e(String item_desc_e) {
		this.item_desc_e = item_desc_e;
	}

	/** 
	 * 物料检索(拼音助记码)
	 */ 
	@Column
	private String item_idx;
	public String getItem_idx() {
		return this.item_idx;
	}
	public void setItem_idx(String item_idx) {
		this.item_idx = item_idx;
	}

	/** 
	 * 排序代码
	 */ 
	@Column
	private String sort_code;
	public String getSort_code() {
		return this.sort_code;
	}
	public void setSort_code(String sort_code) {
		this.sort_code = sort_code;
	}

	/** 
	 * 分类代码
	 */ 
	@Column
	private String mat_class_code;
	public String getMat_class_code() {
		return this.mat_class_code;
	}
	public void setMat_class_code(String mat_class_code) {
		this.mat_class_code = mat_class_code;
	}

	/** 
	 * 分类名称
	 */ 
	@Column
	private String mat_class_name;
	public String getMat_class_name() {
		return this.mat_class_name;
	}
	public void setMat_class_name(String mat_class_name) {
		this.mat_class_name = mat_class_name;
	}

	/** 
	 * 规格
	 */ 
	@Column
	private String spec_name;
	public String getSpec_name() {
		return this.spec_name;
	}
	public void setSpec_name(String spec_name) {
		this.spec_name = spec_name;
	}

	/** 
	 * 属性代码
	 */ 
	@Column
	private String steel_code;
	

	public String getSteel_code() {
		return steel_code;
	}
	public void setSteel_code(String steel_code) {
		this.steel_code = steel_code;
	}

	/** 
	 * 属性名称
	 */ 
	@Column
	private String steel_name;
	public String getSteel_name() {
		return steel_name;
	}
	public void setSteel_name(String steel_name) {
		this.steel_name = steel_name;
	}

	/** 
	 * 标准代码
	 */ 
	@Column
	private String standards_code;
	public String getStandards_code() {
		return this.standards_code;
	}
	public void setStandards_code(String standards_code) {
		this.standards_code = standards_code;
	}

	/** 
	 * 标准号
	 */ 
	@Column
	private String standards_name;
	public String getStandards_name() {
		return this.standards_name;
	}
	public void setStandards_name(String standards_name) {
		this.standards_name = standards_name;
	}

	/** 
	 * 采购度量单位(个、袋、桶)
	 */ 
	@Column
	private String item_uom;
	public String getItem_uom() {
		return this.item_uom;
	}
	public void setItem_uom(String item_uom) {
		this.item_uom = item_uom;
	}

	/** 
	 * 计划价
	 */ 
	@Column
	private Double plan_price;
	public Double getPlan_price() {
		return this.plan_price;
	}
	public void setPlan_price(Double plan_price) {
		this.plan_price = plan_price;
	}

	/** 
	 * 最近采购价
	 */ 
	@Column
	private Double last_price;
	public Double getLast_price() {
		return this.last_price;
	}
	public void setLast_price(Double last_price) {
		this.last_price = last_price;
	}

	/** 
	 * 月末移动平均价
	 */ 
	@Column
	private Double month_end_avg_price;
	public Double getMonth_end_avg_price() {
		return this.month_end_avg_price;
	}
	public void setMonth_end_avg_price(Double month_end_avg_price) {
		this.month_end_avg_price = month_end_avg_price;
	}

	/** 
	 * 是否定额控制(1是，0否)
	 */ 
	@Column
	private String is_budget_ctrl;
	public String getIs_budget_ctrl() {
		return this.is_budget_ctrl;
	}
	public void setIs_budget_ctrl(String is_budget_ctrl) {
		this.is_budget_ctrl = is_budget_ctrl;
	}

	/** 
	 * 是否计量(1是，0否)
	 */ 
	@Column
	private String metering_flag;
	public String getMetering_flag() {
		return this.metering_flag;
	}
	public void setMetering_flag(String metering_flag) {
		this.metering_flag = metering_flag;
	}

	/** 
	 * 是否理化检验(1是，0否)
	 */ 
	@Column
	private String pc_flag;
	public String getPc_flag() {
		return this.pc_flag;
	}
	public void setPc_flag(String pc_flag) {
		this.pc_flag = pc_flag;
	}

	/** 
	 * 最小库存（预警）
	 */ 
	@Column
	private Double min_stock;
	public Double getMin_stock() {
		return this.min_stock;
	}
	public void setMin_stock(Double min_stock) {
		this.min_stock = min_stock;
	}

	/** 
	 * 最大库存（预警）
	 */ 
	@Column
	private Double max_stock;
	public Double getMax_stock() {
		return this.max_stock;
	}
	public void setMax_stock(Double max_stock) {
		this.max_stock = max_stock;
	}

	/** 
	 * 数据状态（1有效、0无效）
	 */ 
	@Column
	private String validflag;
	public String getValidflag() {
		return this.validflag;
	}
	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}

	/** 
	 * 采购员角色ID
	 */ 
	@Column
	private String buyer_role_id;
	public String getBuyer_role_id() {
		return this.buyer_role_id;
	}
	public void setBuyer_role_id(String buyer_role_id) {
		this.buyer_role_id = buyer_role_id;
	}

	/** 
	 * 采购员角色名称
	 */ 
	@Column
	private String buyer_role_name;
	public String getBuyer_role_name() {
		return this.buyer_role_name;
	}
	public void setBuyer_role_name(String buyer_role_name) {
		this.buyer_role_name = buyer_role_name;
	}

	/** 
	 * 计划员角色ID
	 */ 
	@Column
	private String planner_role_id;
	public String getPlanner_role_id() {
		return this.planner_role_id;
	}
	public void setPlanner_role_id(String planner_role_id) {
		this.planner_role_id = planner_role_id;
	}

	/** 
	 * 计划员角色名称
	 */ 
	@Column
	private String planner_role_name;
	public String getPlanner_role_name() {
		return this.planner_role_name;
	}
	public void setPlanner_role_name(String planner_role_name) {
		this.planner_role_name = planner_role_name;
	}

	/** 
	 * 创建人ID
	 */ 
	@Column
	private String create_userid;
	public String getCreate_userid() {
		return this.create_userid;
	}
	public void setCreate_userid(String create_userid) {
		this.create_userid = create_userid;
	}

	/** 
	 * 创建人
	 */ 
	@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;
	}

	/** 
	 * 修改人ID
	 */ 
	@Column
	private String update_userid;
	public String getUpdate_userid() {
		return this.update_userid;
	}
	public void setUpdate_userid(String update_userid) {
		this.update_userid = update_userid;
	}

	/** 
	 * 修改人
	 */ 
	@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;
	}

	/** 
	 * 废除人ID
	 */ 
	@Column
	private String delete_userid;
	public String getDelete_userid() {
		return this.delete_userid;
	}
	public void setDelete_userid(String delete_userid) {
		this.delete_userid = delete_userid;
	}

	/** 
	 * 废除人
	 */ 
	@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;
	}
	
	/** 
	 * ABC分类
	 */ 
	@Column
	private String item_manage_type;
	public String getItem_manage_type() {
		return this.item_manage_type;
	}
	public void setItem_manage_type(String item_manage_type) {
		this.item_manage_type = item_manage_type;
	}
	@Column
	private String attr_name;
	public String getAttr_name() {
		return attr_name;
	}
	public void setAttr_name(String attr_name) {
		this.attr_name = attr_name;
	}
	@Column
	private String attr_code;
	
	public String getAttr_code() {
		return attr_code;
	}
	public void setAttr_code(String attr_code) {
		this.attr_code = attr_code;
	}
	
	/**
	 * 备注
	 */
	@Column
	private String remark;
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	/**
	 *附件
	 */
	@Column(value="MAT_PIC", jdbcType=JdbcType.BLOB)
	private byte[] mat_pic;
	public byte[] getMat_pic() {
		return mat_pic;
	}
	public void setMat_pic(byte[] mat_pic) {
		this.mat_pic = mat_pic;
	}
	
	/**
	 * 附件路径
	 */
	@Column
	private String annex_path;
	public String getAnnex_path() {
		return annex_path;
	}
	public void setAnnex_path(String annex_path) {
		this.annex_path = annex_path;
	}
	
	/**
	 * 新钢物资代码 20200927 肖zq
	 * 方便与新钢MES的备件对接申报
	 */
	@Column
	private String item_code_xg;
	public String getItem_code_xg() {
		return item_code_xg;
	}
	public void setItem_code_xg(String item_code_xg) {
		this.item_code_xg = item_code_xg;
	}
}
