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

import market.Cm.mapper.BaseCostCptMMapper;

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="CM_BASE_COST_CPT_M", namespace=BaseCostCptMMapper.class)
public class BaseCostCptM extends BaseVO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2151669566601909246L;
	/** 
	 * 分配项目代码
	 */ 
	@Id
	private String dst_item_code;
	public String getDst_item_code() {
		return this.dst_item_code;
	}
	public void setDst_item_code(String dst_item_code) {
		this.dst_item_code = dst_item_code;
	}

	/** 
	 * 分配项目名称
	 */ 
	@Column
	private String dst_item_name;
	public String getDst_item_name() {
		return this.dst_item_name;
	}
	public void setDst_item_name(String dst_item_name) {
		this.dst_item_name = dst_item_name;
	}

	/** 
	 * 项目父代码(保存汇总项)
	 */ 
	@Column
	private String parent_item_code;
	public String getParent_item_code() {
		return this.parent_item_code;
	}
	public void setParent_item_code(String parent_item_code) {
		this.parent_item_code = parent_item_code;
	}

	/** 
	 * 项目父名称
	 */ 
	@Column
	private String parent_item_name;
	public String getParent_item_name() {
		return this.parent_item_name;
	}
	public void setParent_item_name(String parent_item_name) {
		this.parent_item_name = parent_item_name;
	}

	/** 
	 * 项目代码
	 */ 
	@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;
	}

	/** 
	 * 分配依据代码(CM_BASE_DST_BASIS)
	 */ 
	@Column
	private String dst_basis_code;
	public String getDst_basis_code() {
		return this.dst_basis_code;
	}
	public void setDst_basis_code(String dst_basis_code) {
		this.dst_basis_code = dst_basis_code;
	}

	/** 
	 * 分配依据名称
	 */ 
	@Column
	private String dst_basis_name;
	public String getDst_basis_name() {
		return this.dst_basis_name;
	}
	public void setDst_basis_name(String dst_basis_name) {
		this.dst_basis_name = dst_basis_name;
	}

	/** 
	 * 公式符号(P0)
	 */ 
	@Column
	private String formula_sign;
	public String getFormula_sign() {
		return this.formula_sign;
	}
	public void setFormula_sign(String formula_sign) {
		this.formula_sign = formula_sign;
	}

	/** 
	 * 核算公式(P1+P2+P3)
	 */ 
	@Column
	private String formula_amount;
	public String getFormula_amount() {
		return this.formula_amount;
	}
	public void setFormula_amount(String formula_amount) {
		this.formula_amount = formula_amount;
	}

	/** 
	 * 计量单位
	 */ 
	@Column
	private String msr_unit;
	public String getMsr_unit() {
		return this.msr_unit;
	}
	public void setMsr_unit(String msr_unit) {
		this.msr_unit = msr_unit;
	}

	/** 
	 * 单位精度 0,2,3
	 */ 
	@Column
	private String unit_prc;
	public String getUnit_prc() {
		return this.unit_prc;
	}
	public void setUnit_prc(String unit_prc) {
		this.unit_prc = unit_prc;
	}

	/** 
	 * 核算顺序
	 */ 
	@Column
	private Long cpt_index;
	public Long getCpt_index() {
		return this.cpt_index;
	}
	public void setCpt_index(Long cpt_index) {
		this.cpt_index = cpt_index;
	}

	/** 
	 * 核算类型(0分配 1归集)
	 */ 
	@Column
	private String cpt_type;
	public String getCpt_type() {
		return this.cpt_type;
	}
	public void setCpt_type(String cpt_type) {
		this.cpt_type = cpt_type;
	}

	/** 
	 * 备注
	 */ 
	@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;
	}

	/** 
	 * 创建人
	 */ 
	@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;
	}
	
	/**
	 * 公式说明
	 */
	@Column
	private String formula_dsc;	
	public String getFormula_dsc() {
		return formula_dsc;
	}
	public void setFormula_dsc(String formula_dsc) {
		this.formula_dsc = formula_dsc;
	}

	//*********************************************************************
	private String is_adjust;	//是否核算
	public String getIs_adjust() {
		return is_adjust;
	}
	public void setIs_adjust(String is_adjust) {
		this.is_adjust = is_adjust;
	}
	
	private String prd_num;  //成本期间
	public String getPrd_num() {
		return prd_num;
	}
	public void setPrd_num(String prd_num) {
		this.prd_num = prd_num;
	}
	
	private String org_code;  //成本组织
	private String org_name;
	public String getOrg_code() {
		return org_code;
	}
	public void setOrg_code(String org_code) {
		this.org_code = org_code;
	}
	public String getOrg_name() {
		return org_name;
	}
	public void setOrg_name(String org_name) {
		this.org_name = org_name;
	}
	
	//约当系数
	private String cfc_cpt;
	public String getCfc_cpt() {
		return cfc_cpt;
	}
	public void setCfc_cpt(String cfc_cpt) {
		this.cfc_cpt = cfc_cpt;
	}
	
	//分配类型：1分配目标、0分配依据
	private String is_dst;
	public String getIs_dst() {
		return is_dst;
	}
	public void setIs_dst(String is_dst) {
		this.is_dst = is_dst;
	}
	
	//数据来源[A自动，B录入、C默认]
	private String data_origin;
	public String getData_origin() {
		return data_origin;
	}
	public void setData_origin(String data_origin) {
		this.data_origin = data_origin;
	}
	
	
}
