/***文档注释***********************************************
 * 作者            ：
 * 创建日期     ：2018-02-06
 * 描述            ：全程产线号与炼钢牌号对应表
 * 注意事项     ：
 * 遗留BUG   ：
 * 修改日期     ：
 * 修改人员     ：
 * 修改内容     ：
***********************************************************/
package market.Qms.metallurgy.vo;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import market.Qms.metallurgy.mapper.ComMscGradeMapper;

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_MSC_GRADE", namespace=ComMscGradeMapper.class)
public class ComMscGrade extends BaseVO implements Serializable {
	/** 
	 * 冶金规范码（保存MSC和接箍KEY）
	 */ 
	@Id
	private String msc;
	public String  getMsc() {
		return this.msc;
	}
	public void setMsc(String msc) {
		this.msc = msc;
	}

	/** 
	 * 全程产线号
	 */ 
	@Id
	private String msc_pline;
	public String  getMsc_pline() {
		return this.msc_pline;
	}
	public void setMsc_pline(String msc_pline) {
		this.msc_pline = msc_pline;
	}

	/** 
	 * 成分标准索引号
	 */ 
	@Column
	private String cic;
	public String  getCic() {
		return this.cic;
	}
	public void setCic(String cic) {
		this.cic = cic;
	}

	/** 
	 * 炼钢牌号代码
	 */ 
	@Id
	private String grade_code;
	public String  getGrade_code() {
		return this.grade_code;
	}
	public void setGrade_code(String grade_code) {
		this.grade_code = grade_code;
	}

	/** 
	 * 炼钢牌号名称
	 */ 
	@Column
	private String grade_name;
	public String  getGrade_name() {
		return this.grade_name;
	}
	public void setGrade_name(String grade_name) {
		this.grade_name = grade_name;
	}

	/** 
	 * 炼钢牌号分类代码
	 */ 
	@Column
	private String assortment_code;
	public String  getAssortment_code() {
		return this.assortment_code;
	}
	public void setAssortment_code(String assortment_code) {
		this.assortment_code = assortment_code;
	}

	/** 
	 * 炼钢牌号分类名称
	 */ 
	@Column
	private String assortment_name;
	public String  getAssortment_name() {
		return this.assortment_name;
	}
	public void setAssortment_name(String assortment_name) {
		this.assortment_name = assortment_name;
	}

	/** 
	 * 内控标准代码
	 */ 
	@Column
	private String std_code;
	public String  getStd_code() {
		return this.std_code;
	}
	public void setStd_code(String std_code) {
		this.std_code = std_code;
	}

	/** 
	 * 内控标准名称
	 */ 
	@Column
	private String std_name;
	public String  getStd_name() {
		return this.std_name;
	}
	public void setStd_name(String std_name) {
		this.std_name = std_name;
	}

	/** 
	 * 优先级
	 */ 
	@Column
	private Long priority;
	public Long  getPriority() {
		return this.priority;
	}
	public void setPriority(Long priority) {
		this.priority = priority;
	}

	/** 
	 * 创建人
	 */ 
	@Column
	private String create_name;
	public String  getCreate_name() {
		return this.create_name;
	}
	public void setCreate_name(String create_name) {
		this.create_name = create_name;
	}

	/** 
	 * 创建时间
	 */ 
	@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_name;
	public String  getUpdate_name() {
		return this.update_name;
	}
	public void setUpdate_name(String update_name) {
		this.update_name = update_name;
	}

	/** 
	 * 修改时间
	 */ 
	@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 delete_name;
	public String  getDelete_name() {
		return this.delete_name;
	}
	public void setDelete_name(String delete_name) {
		this.delete_name = delete_name;
	}

	/** 
	 * 删除时间
	 */ 
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date delete_time;
	public Date  getDelete_time() {
		return this.delete_time;
	}
	public void setDelete_time(Date delete_time) {
		this.delete_time = delete_time;
	}

	/** 
	 * 有效标志(1:有效，0:无效)
	 */ 
	@Column
	private String validflag;
	public String  getValidflag() {
		return this.validflag;
	}
	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}

	/** 
	 * 备注
	 */ 
	@Column
	private String memo;
	public String  getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/** 
	 * {老系统}钢种代码
	 */ 
	@Column
	private String gradecode_old;
	public String  getGradecode_old() {
		return this.gradecode_old;
	}
	public void setGradecode_old(String gradecode_old) {
		this.gradecode_old = gradecode_old;
	}

	/** 
	 * 0表示冶炼 1表示利库
	 */ 
	@Column
	private String manage_category;
	public String  getManage_category() {
		return this.manage_category;
	}
	public void setManage_category(String manage_category) {
		this.manage_category = manage_category;
	}

	

	
	/***
	 * 2018年2月3日修改
	 */
	private List<ComMscGradeRDeliverystate> cmgrDeliverystates;
	private List<ComMscGradeRSpec> cmgrSpecs;
	public List<ComMscGradeRDeliverystate> getCmgrDeliverystates() {
		return cmgrDeliverystates;
	}
	public void setCmgrDeliverystates(
			List<ComMscGradeRDeliverystate> cmgrDeliverystates) {
		this.cmgrDeliverystates = cmgrDeliverystates;
	}
	public List<ComMscGradeRSpec> getCmgrSpecs() {
		return cmgrSpecs;
	}
	public void setCmgrSpecs(List<ComMscGradeRSpec> cmgrSpecs) {
		this.cmgrSpecs = cmgrSpecs;
	}
}
