/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2019-07-06
 * 描述            ：产品成本表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Cm.vo;
import java.io.Serializable;
import java.util.Date;

import market.Cm.mapper.CmReportProdCostMapper;

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

@Table(name="CM_REPORT_PROD_COST", namespace=CmReportProdCostMapper.class)
public class CmReportProdCost extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7265423531250210714L;
	/** 
	 * 成本对象编码
	 */ 
	@Column
	private String object_code;
	public String getObject_code() {
		return this.object_code;
	}
	public void setObject_code(String object_code) {
		this.object_code = object_code;
	}

	/** 
	 * 成本对象名称
	 */ 
	@Column
	private String object_name;
	public String getObject_name() {
		return this.object_name;
	}
	public void setObject_name(String object_name) {
		this.object_name = object_name;
	}

	/** 
	 * 成本组织编码
	 */ 
	@Column
	private String org_code;
	public String getOrg_code() {
		return this.org_code;
	}
	public void setOrg_code(String org_code) {
		this.org_code = org_code;
	}

	/** 
	 * 成本组织名称
	 */ 
	@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 parent_object_code;
	public String getParent_object_code() {
		return this.parent_object_code;
	}
	public void setParent_object_code(String parent_object_code) {
		this.parent_object_code = parent_object_code;
	}

	/** 
	 * 产品类型
	 */ 
	@Column
	private String parent_object_name;
	public String getParent_object_name() {
		return this.parent_object_name;
	}
	public void setParent_object_name(String parent_object_name) {
		this.parent_object_name = parent_object_name;
	}

	/** 
	 * 成本期间
	 */ 
	@Column
	private String prd_num;
	public String getPrd_num() {
		return this.prd_num;
	}
	public void setPrd_num(String prd_num) {
		this.prd_num = prd_num;
	}

	/** 
	 * 业务模式(A自制，B委托)
	 */ 
	@Column
	private String order_model;
	public String getOrder_model() {
		return this.order_model;
	}
	public void setOrder_model(String order_model) {
		this.order_model = order_model;
	}

	/** 
	 * 单位加工成本
	 */ 
	@Column
	private Double process_price;
	public Double getProcess_price() {
		return this.process_price;
	}
	public void setProcess_price(Double process_price) {
		this.process_price = process_price;
	}

	/** 
	 * 单位主材成本
	 */ 
	@Column
	private Double mat_price;
	public Double getMat_price() {
		return this.mat_price;
	}
	public void setMat_price(Double mat_price) {
		this.mat_price = mat_price;
	}

	/** 
	 * 总产量
	 */ 
	@Column
	private Double weight_value;
	public Double getWeight_value() {
		return this.weight_value;
	}
	public void setWeight_value(Double weight_value) {
		this.weight_value = weight_value;
	}

	/** 
	 * 总成本
	 */ 
	@Column
	private Double total_amount;
	public Double getTotal_amount() {
		return this.total_amount;
	}
	public void setTotal_amount(Double total_amount) {
		this.total_amount = total_amount;
	}
	
	/**
	 * 单位成本=总成本/总产量
	 */
	@Column
	private Double amount_per;
	public Double getAmount_per() {
		return amount_per;
	}
	public void setAmount_per(Double amount_per) {
		this.amount_per = amount_per;
	}

	/** 
	 * 产品状态(A成品，B中间品，C在制品)
	 */ 
	@Column
	private String prod_state;
	public String getProd_state() {
		return this.prod_state;
	}
	public void setProd_state(String prod_state) {
		this.prod_state = prod_state;
	}

	/** 
	 * 交货状态代码
	 */ 
	@Column
	private String delivery_state_code;
	public String getDelivery_state_code() {
		return this.delivery_state_code;
	}
	public void setDelivery_state_code(String delivery_state_code) {
		this.delivery_state_code = delivery_state_code;
	}

	/** 
	 * 交货状态名称
	 */ 
	@Column
	private String delivery_state_desc;
	public String getDelivery_state_desc() {
		return this.delivery_state_desc;
	}
	public void setDelivery_state_desc(String delivery_state_desc) {
		this.delivery_state_desc = delivery_state_desc;
	}

	/** 
	 * 成本项目编码
	 */ 
	@Column
	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_name;
	public String getItem_name() {
		return this.item_name;
	}
	public void setItem_name(String item_name) {
		this.item_name = item_name;
	}

	/** 
	 * 备注
	 */ 
	@Column
	private String memo;
	public String getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/** 
	 * 有效标识(1有效 0无效)
	 */ 
	@Column
	private String valid_flg;
	public String getValid_flg() {
		return this.valid_flg;
	}
	public void setValid_flg(String valid_flg) {
		this.valid_flg = valid_flg;
	}

	/** 
	 * 是否审核(1审核 0未审核)
	 */ 
	@Column
	private String audit_flg;
	public String getAudit_flg() {
		return this.audit_flg;
	}
	public void setAudit_flg(String audit_flg) {
		this.audit_flg = audit_flg;
	}

	/** 
	 * 审核人
	 */ 
	@Column
	private String audit_man;
	public String getAudit_man() {
		return this.audit_man;
	}
	public void setAudit_man(String audit_man) {
		this.audit_man = audit_man;
	}

	/** 
	 * 审核时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date audit_time;
	public Date getAudit_time() {
		return this.audit_time;
	}
	public void setAudit_time(Date audit_time) {
		this.audit_time = audit_time;
	}

	/** 
	 * 创建人
	 */ 
	@Column
	private String create_man;
	public String getCreate_man() {
		return this.create_man;
	}
	public void setCreate_man(String create_man) {
		this.create_man = create_man;
	}

	/** 
	 * 创建时间
	 */ 
	@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;
	public String getUpdate_man() {
		return this.update_man;
	}
	public void setUpdate_man(String update_man) {
		this.update_man = update_man;
	}

	/** 
	 * 修改时间
	 */ 
	@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;
	}
	
	//*****************************************************************************
	
	//项目描述
	private String item_desc;
	public String getItem_desc() {
		return item_desc;
	}
	public void setItem_desc(String item_desc) {
		this.item_desc = item_desc;
	}	
	
	//计量单位
	private String msr_unit;
	public String getMsr_unit() {
		return msr_unit;
	}
	public void setMsr_unit(String msr_unit) {
		this.msr_unit = msr_unit;
	}
	
}
