package market.Lms.Consumable.vo;

import java.util.Date;
import java.util.List;

import market.Lms.Consumable.mapper.LmsConsumableLineInfoMapper;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hnshituo.orm.annotation.Column;
import com.hnshituo.orm.annotation.Id;
import com.hnshituo.orm.annotation.Table;

@Table(name="lms_consumable_line_info", namespace=LmsConsumableLineInfoMapper.class)
public class LmsConsumableLineInfo {
	/**
	 * 2.3.2.2	耗材信息副表
	 *
	 */

	@Id
	//编号
	private String line_no;

	@Column
	//物品编号
	private String object_no;

	@Column
	//物品名称
	private String object_name;

	@Column
	//批次号
	private String batch_no;

	@Column
	//商品条码
	private String sn_code;

	@Column
	//规格型号
	private String spec;

	@Column
	//数量
	private int number1;

	@Column
	//余量
	private Integer number2;

	@Column
	//单价
	private Double price;

	@Column
	//计量单位编号
	private String measure_unit_no;

	@Column
	//计量单位名称
	private String measure_unit_name;

	@Column
	//仓库编号
	private String warehouse_no;

	@Column
	//仓库名称
	private String warehouse_name;

	@Column
	//供应单位编号
	private String supplier_no;

	@Column
	//供应单位名称
	private String supplier_name;

	@Column
	@JsonFormat(pattern = "yyyy-MM-dd")
	//业务时间
	private Date in_date;
	
	private List<LmsConsumableAnnex> annexList;

	public String getLine_no() {
		return line_no;
	}

	public void setLine_no(String line_no) {
		this.line_no = line_no;
	}

	public String getObject_no() {
		return object_no;
	}

	public void setObject_no(String object_no) {
		this.object_no = object_no;
	}

	public String getObject_name() {
		return object_name;
	}

	public void setObject_name(String object_name) {
		this.object_name = object_name;
	}

	public String getBatch_no() {
		return batch_no;
	}

	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}

	public String getSn_code() {
		return sn_code;
	}

	public void setSn_code(String sn_code) {
		this.sn_code = sn_code;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public int getNumber1() {
		return number1;
	}

	public void setNumber1(int number1) {
		this.number1 = number1;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getMeasure_unit_no() {
		return measure_unit_no;
	}

	public void setMeasure_unit_no(String measure_unit_no) {
		this.measure_unit_no = measure_unit_no;
	}

	public String getMeasure_unit_name() {
		return measure_unit_name;
	}

	public void setMeasure_unit_name(String measure_unit_name) {
		this.measure_unit_name = measure_unit_name;
	}

	public String getWarehouse_no() {
		return warehouse_no;
	}

	public void setWarehouse_no(String warehouse_no) {
		this.warehouse_no = warehouse_no;
	}

	public String getWarehouse_name() {
		return warehouse_name;
	}

	public void setWarehouse_name(String warehouse_name) {
		this.warehouse_name = warehouse_name;
	}

	public String getSupplier_no() {
		return supplier_no;
	}

	public void setSupplier_no(String supplier_no) {
		this.supplier_no = supplier_no;
	}

	public String getSupplier_name() {
		return supplier_name;
	}

	public void setSupplier_name(String supplier_name) {
		this.supplier_name = supplier_name;
	}

	public Date getIn_date() {
		return in_date;
	}

	public void setIn_date(Date in_date) {
		this.in_date = in_date;
	}

	public List<LmsConsumableAnnex> getAnnexList() {
		return annexList;
	}

	public void setAnnexList(List<LmsConsumableAnnex> annexList) {
		this.annexList = annexList;
	}

	public void setNumber2(Integer number2) {
		this.number2 = number2;
	}

	public Integer getNumber2() {
		return number2;
	}

}
