package market.Slm.PlanManagement.vo;

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

import market.Slm.PlanManagement.mapper.SlmYearSalePlanHeatMapper;

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="SLM_YEAR_SALE_PLAN_HEAT", namespace=SlmYearSalePlanHeatMapper.class)
public class SlmYearSalePlanHeat extends BaseVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3202528661784153828L;

	/**
	 * 年度销售计划头表
	 * */
	@Id
	//计划头编号  YYYY+4位流水
	private String plan_heat_no;

	@Column
	//计划年份
	private String plan_year;

	@Column
	//业务部门编号
	private String sale_org_no;

	@Column
	//业务部门名称
	private String sale_org_name;

	@Column
	//贸易类型编号（1017）
	private String trade_type_no;

	@Column
	//贸易类型名称
	private String trade_type_name;

	@Column
	//销售总量(T) 3位 小数
	private Double sale_total; 

	@Column
	//销售总额  4位小数
	private Double sale_amount; 

	@Column
	//币种编号（1019）
	private String currency_no;

	@Column
	//币种名称
	private String currency_name;

	@Column
	//计划状态 0:待提交；1：带审批；2：审批通过；3：作废；
	private String plan_flag;

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd")
	//开始日期
	private Date start_date; 

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd")
	//结束日期
	private Date  end_date;

	@Column
	//备注
	private String memo;

	@Column
	//有效标志  0：无效；1:有效
	private String valid_flag;

	@Column
	//创建人编号
	private String create_man_no;

	@Column
	//创建人姓名
	private String create_man_name;

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	//创建时间
	private Date create_time; 

	@Column
	//修改人编号
	private String update_man_no;

	@Column
	//修改人姓名
	private String update_man_name;

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//修改时间
	private Date update_time; 

	@Column
	//删除人编号
	private String delete_man_no;

	@Column
	//删除人姓名
	private String delete_man_name;

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//删除时间
	private Date delete_time;

	//累积销售总量(T) 3位 小数
	private Double sum_weight; 

	//累积销售总额  4位小数
	private Double sum_amount; 

	//重量完成率
	private Double rate_weight;

	//金额完成率
	private Double rate_amount;

	public String getPlan_heat_no() {
		return plan_heat_no;
	}

	public void setPlan_heat_no(String plan_heat_no) {
		this.plan_heat_no = plan_heat_no;
	}

	public String getPlan_year() {
		return plan_year;
	}

	public void setPlan_year(String plan_year) {
		this.plan_year = plan_year;
	}

	public String getSale_org_no() {
		return sale_org_no;
	}

	public void setSale_org_no(String sale_org_no) {
		this.sale_org_no = sale_org_no;
	}

	public String getSale_org_name() {
		return sale_org_name;
	}

	public void setSale_org_name(String sale_org_name) {
		this.sale_org_name = sale_org_name;
	}

	public String getTrade_type_no() {
		return trade_type_no;
	}

	public void setTrade_type_no(String trade_type_no) {
		this.trade_type_no = trade_type_no;
	}

	public String getTrade_type_name() {
		return trade_type_name;
	}

	public void setTrade_type_name(String trade_type_name) {
		this.trade_type_name = trade_type_name;
	}

	public Double getSale_total() {
		return sale_total;
	}

	public void setSale_total(Double sale_total) {
		this.sale_total = sale_total;
	}

	public Double getSale_amount() {
		return sale_amount;
	}

	public void setSale_amount(Double sale_amount) {
		this.sale_amount = sale_amount;
	}

	public String getCurrency_no() {
		return currency_no;
	}

	public void setCurrency_no(String currency_no) {
		this.currency_no = currency_no;
	}

	public String getCurrency_name() {
		return currency_name;
	}

	public void setCurrency_name(String currency_name) {
		this.currency_name = currency_name;
	}

	public String getPlan_flag() {
		return plan_flag;
	}

	public void setPlan_flag(String plan_flag) {
		this.plan_flag = plan_flag;
	}

	public Date getStart_date() {
		return start_date;
	}

	public void setStart_date(Date start_date) {
		this.start_date = start_date;
	}

	public Date getEnd_date() {
		return end_date;
	}

	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getValid_flag() {
		return valid_flag;
	}

	public void setValid_flag(String valid_flag) {
		this.valid_flag = valid_flag;
	}

	public String getCreate_man_no() {
		return create_man_no;
	}

	public void setCreate_man_no(String create_man_no) {
		this.create_man_no = create_man_no;
	}

	public String getCreate_man_name() {
		return create_man_name;
	}

	public void setCreate_man_name(String create_man_name) {
		this.create_man_name = create_man_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getUpdate_man_no() {
		return update_man_no;
	}

	public void setUpdate_man_no(String update_man_no) {
		this.update_man_no = update_man_no;
	}

	public String getUpdate_man_name() {
		return update_man_name;
	}

	public void setUpdate_man_name(String update_man_name) {
		this.update_man_name = update_man_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getDelete_man_no() {
		return delete_man_no;
	}

	public void setDelete_man_no(String delete_man_no) {
		this.delete_man_no = delete_man_no;
	}

	public String getDelete_man_name() {
		return delete_man_name;
	}

	public void setDelete_man_name(String delete_man_name) {
		this.delete_man_name = delete_man_name;
	}

	public Date getDelete_time() {
		return delete_time;
	}

	public void setDelete_time(Date delete_time) {
		this.delete_time = delete_time;
	}

	public Double getSum_weight() {
		return sum_weight;
	}

	public void setSum_weight(Double sum_weight) {
		this.sum_weight = sum_weight;
	}

	public Double getSum_amount() {
		return sum_amount;
	}

	public void setSum_amount(Double sum_amount) {
		this.sum_amount = sum_amount;
	}

	public Double getRate_weight() {
		return rate_weight;
	}

	public void setRate_weight(Double rate_weight) {
		this.rate_weight = rate_weight;
	}

	public Double getRate_amount() {
		return rate_amount;
	}

	public void setRate_amount(Double rate_amount) {
		this.rate_amount = rate_amount;
	} 

}