/***文档注释***********************************************
 * 作者               :                   易鑫
 * 创建日期      :                   2017.11.22
 * 描述               :        			虚拟物料表
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
***********************************************************/

package market.Mes.Lengthwise.Plan.vo;

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

import market.Mes.Lengthwise.Plan.mapper.PlnMaterielDetailMapper;

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 = "PLN_MATERIEL_DETAIL", namespace = PlnMaterielDetailMapper.class)
public class PlnMaterielDetail extends BaseVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Material_no
	private String material_no;

	public String getMaterial_no() {
		return material_no;
	}

	public void setMaterial_no(String material_no) {
		this.material_no = material_no;
	}

	// 子卷号sub_object_no
	private String sub_object_no;

	public String getSub_object_no() {
		return sub_object_no;
	}

	public void setSub_object_no(String sub_object_no) {
		this.sub_object_no = sub_object_no;
	}

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

	public String getObject_no_vt() {
		return this.object_no_vt;
	}

	public void setObject_no_vt(String object_no_vt) {
		this.object_no_vt = object_no_vt;
	}

	@Column
	// 实物是否充当物料 0:否 1:是充当实物
	private String is_replaced;

	public String getIs_replaced() {
		return is_replaced;
	}

	public void setIs_replaced(String is_replaced) {
		this.is_replaced = is_replaced;
	}

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

	public String getPline_code() {
		return this.pline_code;
	}

	public void setPline_code(String pline_code) {
		this.pline_code = pline_code;
	}

	@Column
	// 机台编号
	private String machine_code;

	public String getMachine_code() {
		return this.machine_code;
	}

	public void setMachine_code(String machine_code) {
		this.machine_code = machine_code;
	}

	@Column
	// 状态
	private String status;

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column
	// 上道工序已完成
	private String is_finished;

	public String getIs_finished() {
		return this.is_finished;
	}

	public void setIs_finished(String is_finished) {
		this.is_finished = is_finished;
	}

	@Column
	// 计划上道工序
	private String prev_process_code;

	public String getPrev_process_code() {
		return this.prev_process_code;
	}

	public void setPrev_process_code(String prev_process_code) {
		this.prev_process_code = prev_process_code;
	}

	@Column
	// 计划下道工序
	private String next_process_code;

	public String getNext_process_code() {
		return this.next_process_code;
	}

	public void setNext_process_code(String next_process_code) {
		this.next_process_code = next_process_code;
	}

	@Column
	// 计划上道设计工序
	private String prev_dsn_process_code;

	public String getPrev_dsn_process_code() {
		return this.prev_dsn_process_code;
	}

	public void setPrev_dsn_process_code(String prev_dsn_process_code) {
		this.prev_dsn_process_code = prev_dsn_process_code;
	}

	@Column
	// 计划下道设计工序
	private String next_dsn_process_code;

	public String getNext_dsn_process_code() {
		return this.next_dsn_process_code;
	}

	public void setNext_dsn_process_code(String next_dsn_process_code) {
		this.next_dsn_process_code = next_dsn_process_code;
	}

	@Column
	// 上道工序设计已完成
	private String is_prev_dsn_finished;

	public String getIs_prev_dsn_finished() {
		return this.is_prev_dsn_finished;
	}

	public void setIs_prev_dsn_finished(String is_prev_dsn_finished) {
		this.is_prev_dsn_finished = is_prev_dsn_finished;
	}

	@Column
	// 生成的设计工序
	private String create_process_code;

	public String getCreate_process_code() {
		return this.create_process_code;
	}

	public void setCreate_process_code(String create_process_code) {
		this.create_process_code = create_process_code;
	}

	@Column
	// 生成时的设计号
	private String create_design_no;

	public String getCreate_design_no() {
		return this.create_design_no;
	}

	public void setCreate_design_no(String create_design_no) {
		this.create_design_no = create_design_no;
	}

	@Column
	// 生成时是否原料
	private Integer is_mat;

	public Integer getIs_mat() {
		return this.is_mat;
	}

	public void setIs_mat(Integer is_mat) {
		this.is_mat = is_mat;
	}

	@Column
	// 填写后不能改变
	private String order_no;

	public String getOrder_no() {
		return this.order_no;
	}

	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}

	@Column
	// 生产订单号
	private String prod_order_no;

	public String getProd_order_no() {
		return this.prod_order_no;
	}

	public void setProd_order_no(String prod_order_no) {
		this.prod_order_no = prod_order_no;
	}

	@Column
	// 分条设计号
	private String lw_design_no;

	public String getLw_design_no() {
		return this.lw_design_no;
	}

	public void setLw_design_no(String lw_design_no) {
		this.lw_design_no = lw_design_no;
	}

	@Column
	// 轧制设计号
	private String rl_design_no;

	public String getRl_design_no() {
		return this.rl_design_no;
	}

	public void setRl_design_no(String rl_design_no) {
		this.rl_design_no = rl_design_no;
	}

	@Column
	// 分条计划号
	private String lw_plan_no;

	public String getLw_plan_no() {
		return this.lw_plan_no;
	}

	public void setLw_plan_no(String lw_plan_no) {
		this.lw_plan_no = lw_plan_no;
	}

	@Column
	// 轧制计划号
	private String rl_plan_no;

	public String getRl_plan_no() {
		return this.rl_plan_no;
	}

	public void setRl_plan_no(String rl_plan_no) {
		this.rl_plan_no = rl_plan_no;
	}

	@Column
	// 原料虚拟物料号
	private String mat_object_no_vt;

	public String getMat_object_no_vt() {
		return this.mat_object_no_vt;
	}

	public void setMat_object_no_vt(String mat_object_no_vt) {
		this.mat_object_no_vt = mat_object_no_vt;
	}

	@Column
	// 牌号
	private String steel_code;

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

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

	@Column
	// 宽度
	private Double width;

	public Double getWidth() {
		return this.width;
	}

	public void setWidth(Double width) {
		this.width = width;
	}

	@Column
	// 厚度
	private Double thick;

	public Double getThick() {
		return this.thick;
	}

	public void setThick(Double thick) {
		this.thick = thick;
	}

	@Column
	// 长度
	private Double length;

	public Double getLength() {
		return this.length;
	}

	public void setLength(Double length) {
		this.length = length;
	}

	@Column
	// 内径
	private Double diameter_inn;

	public Double getDiameter_inn() {
		return this.diameter_inn;
	}

	public void setDiameter_inn(Double diameter_inn) {
		this.diameter_inn = diameter_inn;
	}

	@Column
	// 外径
	private Double diameter_out;

	public Double getDiameter_out() {
		return this.diameter_out;
	}

	public void setDiameter_out(Double diameter_out) {
		this.diameter_out = diameter_out;
	}

	@Column
	// 单重
	private Double single_weight;

	public Double getSingle_weight() {
		return this.single_weight;
	}

	public void setSingle_weight(Double single_weight) {
		this.single_weight = single_weight;
	}

	@Column
	// 定尺方式
	private String fixed_length_type_no;

	public String getFixed_length_type_no() {
		return this.fixed_length_type_no;
	}

	public void setFixed_length_type_no(String fixed_length_type_no) {
		this.fixed_length_type_no = fixed_length_type_no;
	}

	@Column
	// 切边方式
	private String cut_edge_type_no;

	public String getCut_edge_type_no() {
		return this.cut_edge_type_no;
	}

	public void setCut_edge_type_no(String cut_edge_type_no) {
		this.cut_edge_type_no = cut_edge_type_no;
	}

	@Column
	// 订单材/余材标志（1订单材、2余材）
	private String ord_flg;

	public String getOrd_flg() {
		return this.ord_flg;
	}

	public void setOrd_flg(String ord_flg) {
		this.ord_flg = ord_flg;
	}

	@Column
	// 需重新加工(原料 轧/切) (针对某工序原料标识，工序成品不标示)
	private String need_extopt;

	public String getNeed_extopt() {
		return this.need_extopt;
	}

	public void setNeed_extopt(String need_extopt) {
		this.need_extopt = need_extopt;
	}

	@Column
	// 当前是否补(轧/切)料(针对某工序原料标识，工序成品不标示)
	private String is_extra;

	public String getIs_extra() {
		return this.is_extra;
	}

	public void setIs_extra(String is_extra) {
		this.is_extra = is_extra;
	}

	@Column
	// 操作次数(针对某工序原料标识，工序成品不标示)
	private Integer opt_times;

	public Integer getOpt_times() {
		return this.opt_times;
	}

	public void setOpt_times(Integer opt_times) {
		this.opt_times = opt_times;
	}

	@Column
	// 废料次数
	private Integer waste_times;

	public Integer getWaste_times() {
		return this.waste_times;
	}

	public void setWaste_times(Integer waste_times) {
		this.waste_times = waste_times;
	}

	@Column
	// 脱单次数
	private Integer divorced_times;

	public Integer getDivorced_times() {
		return this.divorced_times;
	}

	public void setDivorced_times(Integer divorced_times) {
		this.divorced_times = divorced_times;
	}

	@Column
	// 充当次数
	private Integer replaced_times;

	public Integer getReplaced_times() {
		return this.replaced_times;
	}

	public void setReplaced_times(Integer replaced_times) {
		this.replaced_times = replaced_times;
	}

	@Column
	// 无效标志(0/空:有效，其他无效)
	private Integer invalid_flg;

	public Integer getInvalid_flg() {
		return this.invalid_flg;
	}

	public void setInvalid_flg(Integer invalid_flg) {
		this.invalid_flg = invalid_flg;
	}

	@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
	@JsonFormat(pattern = "yyyy-MM-dd")
	// 订单交货最早时间
	private Date deliver_date_earliest;

	public Date getDeliver_date_earliest() {
		return deliver_date_earliest;
	}

	public void setDeliver_date_earliest(Date deliver_date_earliest) {
		this.deliver_date_earliest = deliver_date_earliest;
	}

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd")
	// 订单交货最晚时间
	private Date deliver_date_latest;

	public Date getDeliver_date_latest() {
		return deliver_date_latest;
	}

	public void setDeliver_date_latest(Date deliver_date_latest) {
		this.deliver_date_latest = deliver_date_latest;
	}

	// 理重
	private Double coil_thr_wgt;

	public Double getCoil_thr_wgt() {
		return coil_thr_wgt;
	}

	public void setCoil_thr_wgt(Double coil_thr_wgt) {
		this.coil_thr_wgt = coil_thr_wgt;
	}

	// 实重
	private Double coil_act_wgt;

	public Double getCoil_act_wgt() {
		return coil_act_wgt;
	}

	public void setCoil_act_wgt(Double coil_act_wgt) {
		this.coil_act_wgt = coil_act_wgt;
	}

	// 产线名称
	private String pline_name;

	public String getPline_name() {
		return pline_name;
	}

	public void setPline_name(String pline_name) {
		this.pline_name = pline_name;
	}

	// 机台名称
	private String machine_name;

	public String getMachine_name() {
		return machine_name;
	}

	public void setMachine_name(String machine_name) {
		this.machine_name = machine_name;
	}

	// 状态
	private String status_desc;

	public String getStatus_desc() {
		return status_desc;
	}

	public void setStatus_desc(String status_desc) {
		this.status_desc = status_desc;
	}

	// 牌号
	private String steel_name;

	public String getSteel_name() {
		return steel_name;
	}

	public void setSteel_name(String steel_name) {
		this.steel_name = steel_name;
	}

	private String materailcoilno;

	public String getMaterailcoilno() {
		return materailcoilno;
	}

	public void setMaterailcoilno(String materailcoilno) {
		this.materailcoilno = materailcoilno;
	}

	/**
	 * 横剪计划号
	 */
	@Column
	private String cl_plan_no;

	public String getCl_plan_no() {
		return this.cl_plan_no;
	}

	public void setCl_plan_no(String cl_plan_no) {
		this.cl_plan_no = cl_plan_no;
	}

	/**
	 * 横剪设计号
	 */
	@Column
	private String cl_design_no;

	public String getCl_design_no() {
		return this.cl_design_no;
	}

	public void setCl_design_no(String cl_design_no) {
		this.cl_design_no = cl_design_no;
	}

	/**
	 * 成品总数(物料为[箱]时)
	 */
	@Column
	private Integer sub_count;

	public Integer getSub_count() {
		return this.sub_count;
	}

	public void setSub_count(Integer sub_count) {
		this.sub_count = sub_count;
	}

	/**
	 * 成品单重(物料为[箱]时)
	 */
	@Column
	private Double sub_weight;

	public Double getSub_weight() {
		return this.sub_weight;
	}

	public void setSub_weight(Double sub_weight) {
		this.sub_weight = sub_weight;
	}
	
	/**
	 * 单体垛位(成品)重量上限
	 */
	private Double mono_stack_max_weight;
	
	public Double getMono_stack_max_weight() {
		return mono_stack_max_weight;
	}

	public void setMono_stack_max_weight(Double mono_stack_max_weight) {
		this.mono_stack_max_weight = mono_stack_max_weight;
	}

	// 计划顺序号，每个计划 唯一编号排序
	private Long plan_seq;

	public Long getPlan_seq() {
		return this.plan_seq;
	}

	public void setPlan_seq(Long plan_seq) {
		this.plan_seq = plan_seq;
	}
	// 2018-06-14 母卷经过一道工序成为子卷后,母卷的下道工序标记为已完成。
	// 下道工序已完成
	@Column
	private String is_next_finished;

	public String getIs_next_finished() {
		return is_next_finished;
	}

	public void setIs_next_finished(String is_next_finished) {
		this.is_next_finished = is_next_finished;
	}

	@Column
	//罩退计划号
	private String an_plan_no;
	
	@Column
	//平整计划号
	private String sr_plan_no;

	@Column
	//批组号
	private String batch_no;
	
	@Column
	// 罩退设计号
	private String an_design_no;
	
	@Column
	// 平整设计号
	private String sr_design_no;
	
	@Column
	// 是否拼料(0=非拼料，1=拼料)
	private String is_multi;

	public String getIs_multi() {
		return this.is_multi;
	}

	public void setIs_multi(String is_multi) {
		this.is_multi = is_multi;
	}
	
	public String getAn_plan_no() {
		return an_plan_no;
	}
	public void setAn_plan_no(String an_plan_no) {
		this.an_plan_no = an_plan_no;
	}
	public String getSr_plan_no() {
		return sr_plan_no;
	}
	public void setSr_plan_no(String sr_plan_no) {
		this.sr_plan_no = sr_plan_no;
	}
	public String getBatch_no() {
		return batch_no;
	}
	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}
	public String getAn_design_no() {
		return an_design_no;
	}
	public void setAn_design_no(String an_design_no) {
		this.an_design_no = an_design_no;
	}
	public String getSr_design_no() {
		return sr_design_no;
	}
	public void setSr_design_no(String sr_design_no) {
		this.sr_design_no = sr_design_no;
	}

	/**
	 * 工序次数标识
	 */
	@Column
	private Integer proc_repeat_index;
	public Integer getProc_repeat_index() {
		return proc_repeat_index;
	}

	public void setProc_repeat_index(Integer proc_repeat_index) {
		this.proc_repeat_index = proc_repeat_index;
	}

	/**
	 * 合同号
	 */
	private String contract_no;
	public String getContract_no() {
		return contract_no;
	}

	public void setContract_no(String contract_no) {
		this.contract_no = contract_no;
	}
	
	/** 
	 * 当前执行位置
	 */ 
	private Long position;
	public Long getPosition() {
		return this.position;
	}
	public void setPosition(Long position) {
		this.position = position;
	}

	/** 
	 * 实际作业路径
	 */ 
	private String actual_process;
	public String getActual_process() {
		return this.actual_process;
	}
	public void setActual_process(String actual_process) {
		this.actual_process = actual_process;
	}

	/** 
	 * 作业路径
	 */ 
	private String task_process_codes;
	public String getTask_process_codes() {
		return this.task_process_codes;
	}
	public void setTask_process_codes(String task_process_codes) {
		this.task_process_codes = task_process_codes;
	}

	/** 
	 * 作业路径描述
	 */ 
	private String task_process_names;
	public String getTask_process_names() {
		return this.task_process_names;
	}
	public void setTask_process_names(String task_process_names) {
		this.task_process_names = task_process_names;
	}
	
	/**
	 * 酸洗计划号
	 */
	@Column
	private String pc_plan_no;
	public String getPc_plan_no() {
		return pc_plan_no;
	}

	public void setPc_plan_no(String pc_plan_no) {
		this.pc_plan_no = pc_plan_no;
	}

	/**
	 * 酸洗设计号
	 */
	@Column
	private String pc_design_no;
	public String getPc_design_no() {
		return pc_design_no;
	}

	public void setPc_design_no(String pc_design_no) {
		this.pc_design_no = pc_design_no;
	}
	
	/**
	 * 备注
	 */
	private String remark ; 
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 *  是否主物料(1是,0否)
	 */
	@Column
	private Integer is_main_mat ;
	public Integer getIs_main_mat() {
		return is_main_mat;
	}

	public void setIs_main_mat(Integer is_main_mat) {
		this.is_main_mat = is_main_mat;
	}

	/**
	 * 是否成品
	 */
	@Column
	private Integer is_fin_prods ;
	public Integer getIs_fin_prods() {
		return is_fin_prods;
	}

	public void setIs_fin_prods(Integer is_fin_prods) {
		this.is_fin_prods = is_fin_prods;
	}


	/**
	 * 包装要求编码(2011)
	 */
	@Column
	private String pk_ask_code;
	public String getPk_ask_code() {
		return pk_ask_code;
	}
	public void setPk_ask_code(String pk_ask_code) {
		this.pk_ask_code = pk_ask_code;
	}

	/**
	 * 包装要求名称
	 */
	@Column
	private String pk_ask_desc;
	public String getPk_ask_desc() {
		return pk_ask_desc;
	}
	public void setPk_ask_desc(String pk_ask_desc) {
		this.pk_ask_desc = pk_ask_desc;
	}
	@Column
	//销售加工计划号
	private String plan_no;
	public String getPlan_no() {
		return plan_no;
	}
	public void setPlan_no(String plan_no) {
		this.plan_no = plan_no;
	}
}
