package market.Mes.MaterielTrack.vo;
import java.io.Serializable;
import java.util.Date;

import market.Mes.MaterielTrack.mapper.PrcMaterielRelationMapper;

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="PRC_MATERIEL_RELATION", namespace=PrcMaterielRelationMapper.class)
public class PrcMaterielRelation extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7045137819129641648L;

	private String lv;
	
	
	public String getLv() {
		return lv;
	}
	public void setLv(String lv) {
		this.lv = lv;
	}

	@Id
	//序号
	private long serial_no;
	public long  getSerial_no() {
		return this.serial_no;
	}
	public void setSerial_no(long serial_no) {
		this.serial_no = serial_no;
	}

	@Column

	//主物料号
	private String object_no;
	public String  getObject_no() {
		return this.object_no;
	}
	public void setObject_no(String object_no) {
		this.object_no = object_no;
	}

	@Column

	//主物料类型
	private String object_type;
	public String  getObject_type() {
		return this.object_type;
	}
	public void setObject_type(String object_type) {
		this.object_type = object_type;
	}

	@Column

	//子物料号
	private String sub_object_no;
	public String  getSub_object_no() {
		return this.sub_object_no;
	}
	public void setSub_object_no(String sub_object_no) {
		this.sub_object_no = sub_object_no;
	}

	@Column

	//子物料类型
	private String sub_object_type;
	public String  getSub_object_type() {
		return this.sub_object_type;
	}
	public void setSub_object_type(String sub_object_type) {
		this.sub_object_type = sub_object_type;
	}

	@Column

	//关系序号
	private int relation_seq;
	public int  getRelation_seq() {
		return this.relation_seq;
	}
	public void setRelation_seq(int relation_seq) {
		this.relation_seq = relation_seq;
	}

	@Column

	//1:改号(原-现号码对应)；2:轧制(板坯-钢板对应)；3:剪切/切割(母-子对应)
	private int relation_type;
	public int  getRelation_type() {
		return this.relation_type;
	}
	public void setRelation_type(int relation_type) {
		this.relation_type = relation_type;
	}

	@Column

	//产生工序
	private String prc_code;
	public String  getPrc_code() {
		return this.prc_code;
	}
	public void setPrc_code(String prc_code) {
		this.prc_code = prc_code;
	}

	@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;

	@Column
	//备注
	private String remark;
	public String  getRemark() {
		return this.remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getCreate_time() {
		return create_time;
	}

}
