package market.Qms.com.vo;

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

import market.Qms.com.mapper.BaseGradeMapper;

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="COM_BASE_GRADE", namespace=BaseGradeMapper.class)
public class BaseGrade extends BaseVO implements Serializable {

	/** 钢种代码(GZ0001) */
	@Id("GRADE_CODE")
	private String gradeCode;

	/** 钢种名称 */
	@Column("GRADE_NAME")
	private String gradeName;

	/** 钢种分类代码(4002) */
	@Column("ASSORTMENT_CODE")
	private String assortmentCode;

	/** 钢种分类名称 */
	@Column("ASSORTMENT_NAME")
	private String assortmentName;

	/** 钢种系数 */
	@Column
	private Double coefficient;

	/** 创建人 */
	@Column("CREATE_NAME")
	private String createName;

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

	/** 修改人 */
	@Column("UPDATE_NAME")
	private String updateName;

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

	/** 删除人 */
	@Column("DELETE_NAME")
	private String deleteName;

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

	/** 有效标志(1:有效，0:无效) */
	@Column
	private String validflag;

	/** 备注 */
	@Column
	private String memo;

	/** {老系统}钢种代码(GZ0001) */
	@Column("GRADECODE_OLD")
	private String gradecodeOld;

	/** 是否允许外购(1:允许；0:不允许) */
	@Column("ALLOW_BUY")
	private String allowBuy;

	/** 配料方案代码(来源于COST_BASE_BATCHING) */
	@Column("BATCHING_CODE")
	private String batchingCode;
	
	
	
	/** 产线代码(来源于COM_BASE_GRADE_R_PLINE) */
	private String pline_codes;
	
	/** 产线名称(来源于COM_BASE_GRADE_R_PLINE) */
	private String pline_names;
	
	/** 产线代码(来源于COM_BASE_GRADE_R_STEEL) */
	private String steel_codes;
	
	/** 钢级牌号描述(来源于COM_BASE_GRADE_R_STEEL) */
	private String steel_names;
	
	/** 化学元素编号(来源于COM_BASE_GRADE_CHEM) */
	private String chem_codes;
		
	
	
/*	@Collection(column="GRADE_CODE", foreignColumn="GRADE_CODE", javaType=BaseGradeChem.class)
	private List<BaseGradeChem> listGradeChem;	
	
	public List<BaseGradeChem> getListGradeChem() {
		return listGradeChem;
	}

	public void setListGradeChem(List<BaseGradeChem> listGradeChem) {
		this.listGradeChem = listGradeChem;
	}*/

	public String getPline_codes() {
		return pline_codes;
	}

	public String getPline_names() {
		return pline_names;
	}

	public void setPline_names(String pline_names) {
		this.pline_names = pline_names;
	}

	public String getSteel_codes() {
		return steel_codes;
	}

	public void setSteel_codes(String steel_codes) {
		this.steel_codes = steel_codes;
	}

	public void setPline_codes(String pline_codes) {
		this.pline_codes = pline_codes;
	}


	public String getSteel_names() {
		return steel_names;
	}

	public void setSteel_names(String steel_names) {
		this.steel_names = steel_names;
	}

	public String getChem_codes() {
		return chem_codes;
	}

	public void setChem_codes(String chem_codes) {
		this.chem_codes = chem_codes;
	}

	public String getGradeCode() {
		return this.gradeCode;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public String getAssortmentCode() {
		return this.assortmentCode;
	}

	public String getAssortmentName() {
		return this.assortmentName;
	}

	public Double getCoefficient() {
		return this.coefficient;
	}

	public String getCreateName() {
		return this.createName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public String getUpdateName() {
		return this.updateName;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public String getDeleteName() {
		return this.deleteName;
	}

	public Date getDeleteTime() {
		return this.deleteTime;
	}

	public String getValidflag() {
		return this.validflag;
	}

	public String getMemo() {
		return this.memo;
	}

	public String getGradecodeOld() {
		return this.gradecodeOld;
	}

	public String getAllowBuy() {
		return this.allowBuy;
	}

	public String getBatchingCode() {
		return this.batchingCode;
	}

	public void setGradeCode(String gradeCode) {
		this.gradeCode = gradeCode;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public void setAssortmentCode(String assortmentCode) {
		this.assortmentCode = assortmentCode;
	}

	public void setAssortmentName(String assortmentName) {
		this.assortmentName = assortmentName;
	}

	public void setCoefficient(Double coefficient) {
		this.coefficient = coefficient;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public void setDeleteName(String deleteName) {
		this.deleteName = deleteName;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}

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

	public void setGradecodeOld(String gradecodeOld) {
		this.gradecodeOld = gradecodeOld;
	}

	public void setAllowBuy(String allowBuy) {
		this.allowBuy = allowBuy;
	}

	public void setBatchingCode(String batchingCode) {
		this.batchingCode = batchingCode;
	}

}
