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

import market.Cm.mapper.BaseCostCptDMapper;

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_D", namespace=BaseCostCptDMapper.class)
public class BaseCostCptD extends BaseVO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1524056853591358061L;
	
	/** 
	 * 分配项目代码父
	 */ 
	@Id
	private String dst_item_code_f;
	public String getDst_item_code_f() {
		return this.dst_item_code_f;
	}
	public void setDst_item_code_f(String dst_item_code_f) {
		this.dst_item_code_f = dst_item_code_f;
	}

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

	/** 
	 * 公式符号 (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/(P1+P2+P3))
	 */ 
	@Column
	private String formula_rate;
	public String getFormula_rate() {
		return this.formula_rate;
	}
	public void setFormula_rate(String formula_rate) {
		this.formula_rate = formula_rate;
	}

	/** 
	 * 分配金额公式(P1/(P1+P2+P3)*P0)
	 */ 
	@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 formula_dsc;
	public String getFormula_dsc() {
		return this.formula_dsc;
	}
	public void setFormula_dsc(String formula_dsc) {
		this.formula_dsc = formula_dsc;
	}

	/** 
	 * 计算系数
	 */ 
	@Column
	private Double cfc_cpt;
	public Double getCfc_cpt() {
		return this.cfc_cpt;
	}
	public void setCfc_cpt(Double cfc_cpt) {
		this.cfc_cpt = cfc_cpt;
	}

	/** 
	 * 数据来源 (A系统 B输入)
	 */ 
	@Column
	private String data_origin;
	public String getData_origin() {
		return this.data_origin;
	}
	public void setData_origin(String data_origin) {
		this.data_origin = data_origin;
	}

	/** 
	 * 默认值类型  (0无、1量、2比率)
	 */ 
	@Column
	private String default_type;
	public String getDefault_type() {
		return this.default_type;
	}
	public void setDefault_type(String default_type) {
		this.default_type = default_type;
	}

	/** 
	 * 默认值
	 */ 
	@Column
	private Double default_value;
	public Double getDefault_value() {
		return this.default_value;
	}
	public void setDefault_value(Double default_value) {
		this.default_value = default_value;
	}

	/** 
	 * 表名
	 */ 
	@Column
	private String table_name;
	public String getTable_name() {
		return this.table_name;
	}
	public void setTable_name(String table_name) {
		this.table_name = table_name;
	}

	/** 
	 * 表说明
	 */ 
	@Column
	private String table_comment;
	public String getTable_comment() {
		return this.table_comment;
	}
	public void setTable_comment(String table_comment) {
		this.table_comment = table_comment;
	}

	/** 
	 * 列名
	 */ 
	@Column
	private String column_name;
	public String getColumn_name() {
		return this.column_name;
	}
	public void setColumn_name(String column_name) {
		this.column_name = column_name;
	}

	/** 
	 * 列说明
	 */ 
	@Column
	private String column_comment;
	public String getColumn_comment() {
		return this.column_comment;
	}
	public void setColumn_comment(String column_comment) {
		this.column_comment = column_comment;
	}

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

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

	//************************************************************************
	//分配类型：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;
	}
	
}
