package market.Qms.com.vo;

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

import market.Qms.com.mapper.BaseSpecMapper;

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_SPEC", namespace=BaseSpecMapper.class)
public class BaseSpec extends BaseVO implements Serializable {

	/** 产品规格代码 */
	@Id("SPEC_CODE")
	private String specCode;

	/** 产品规格描述 */
	@Column("SPEC_NAME")
	private String specName;

	/** 宽度 */
	@Column
	private Double dimater;

	/** 厚度 */
	@Column
	private Double height;

	/** 米单重(0.02466*壁厚*(外径-壁厚)*钢种系数) */
	@Column
	private String weight;

	/** 类型(A钢管(必须要填外径壁厚)、B管坯(只允许填外径)、C其它(要走接箍或附件的,不能填外径壁厚)) */
	@Column("MSC_STYLE")
	private String mscStyle;

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

	/** {老系统}产品规格代码 */
	@Column("SPEC_CODE_OLD")
	private String specCodeOld;

	public String getSpecCode() {
		return this.specCode;
	}

	public String getSpecName() {
		return this.specName;
	}

	public Double getDimater() {
		return this.dimater;
	}

	public Double getHeight() {
		return this.height;
	}

	public String getWeight() {
		return this.weight;
	}

	public String getMscStyle() {
		return this.mscStyle;
	}

	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 getSpecCodeOld() {
		return this.specCodeOld;
	}

	public void setSpecCode(String specCode) {
		this.specCode = specCode;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public void setDimater(Double dimater) {
		this.dimater = dimater;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public void setMscStyle(String mscStyle) {
		this.mscStyle = mscStyle;
	}

	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 setSpecCodeOld(String specCodeOld) {
		this.specCodeOld = specCodeOld;
	}

}
