package com.goafanti.order.bo;

import org.apache.commons.lang3.time.DateFormatUtils;

import com.goafanti.common.constant.AFTConstants;
import com.goafanti.common.enums.OrderLogProcess;
import com.goafanti.common.model.TOrderLog;

//@SuppressWarnings("unused")
public class TOrderLogBo extends TOrderLog{
	@SuppressWarnings("unused")
	private String processName;
	private String adminName;
	@SuppressWarnings("unused")
	private String createDate;
	
	

	public String getProcessName() {
		return OrderLogProcess.getValueByCode(super.getProcess());
	}

	public void setProcessName(String processName) {
		this.processName = processName;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getCreateDate() {
		if (super.getCreateTime() == null) {
			return null;
		} else {
			return DateFormatUtils.format(super.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
		}
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	
	
	
		
}
