package com.goafanti.common.model;

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

public class TOrderOutsource implements Serializable {

	/**
	 * Database Column Remarks: id This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.id
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer id;
	/**
	 * Database Column Remarks: 订单编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.order_no
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String orderNo;
	/**
	 * Database Column Remarks: 状态 0-待审核 ，1-审核通过，2-审核拒绝 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.refund_status
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer refundStatus;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.create_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Date createTime;
	/**
	 * Database Column Remarks: 审核备注 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String remarks;
	/**
	 * Database Column Remarks: 附件地址 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.attachment_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String attachmentUrl;
	/**
	 * Database Column Remarks: 总金额 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.amount
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private BigDecimal amount;
	/**
	 * Database Column Remarks: 公司名称 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.company_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String companyName;
	/**
	 * Database Column Remarks: 审核时间 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.audit_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Date auditTime;
	/**
	 * Database Column Remarks: 单价 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.unit_price
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private BigDecimal unitPrice;
	/**
	 * Database Column Remarks: 数量 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.unit_number
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer unitNumber;
	/**
	 * Database Column Remarks: 外包备注 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.outsource_remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String outsourceRemarks;
	/**
	 * Database Column Remarks: 分类 0订单 1项目 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer type;
	/**
	 * Database Column Remarks: 任务编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.tid
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer tid;
	/**
	 * Database Column Remarks: 0外包 1供应商 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.start_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer startType;
	/**
	 * Database Column Remarks: 专利类型 0申请/变更/转让 1买卖 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.patent_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer patentType;
	/**
	 * Database Column Remarks: 专利名称 0实用新型 1发明专利 2外观专利 3 其他 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.patent_name_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer patentNameType;
	/**
	 * Database Column Remarks: 专利名称 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.patent_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String patentName;
	/**
	 * Database Column Remarks: 签单标记 0实际已缴 1实际未已缴 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.actual_official
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private Integer actualOfficial;
	/**
	 * Database Column Remarks: 图片地址 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_outsource.picture_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private String pictureUrl;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.id
	 * @return  the value of t_order_outsource.id
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.id
	 * @param id  the value for t_order_outsource.id
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.order_no
	 * @return  the value of t_order_outsource.order_no
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getOrderNo() {
		return orderNo;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.order_no
	 * @param orderNo  the value for t_order_outsource.order_no
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo == null ? null : orderNo.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.refund_status
	 * @return  the value of t_order_outsource.refund_status
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getRefundStatus() {
		return refundStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.refund_status
	 * @param refundStatus  the value for t_order_outsource.refund_status
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setRefundStatus(Integer refundStatus) {
		this.refundStatus = refundStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.create_time
	 * @return  the value of t_order_outsource.create_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.create_time
	 * @param createTime  the value for t_order_outsource.create_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.remarks
	 * @return  the value of t_order_outsource.remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getRemarks() {
		return remarks;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.remarks
	 * @param remarks  the value for t_order_outsource.remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks == null ? null : remarks.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.attachment_url
	 * @return  the value of t_order_outsource.attachment_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getAttachmentUrl() {
		return attachmentUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.attachment_url
	 * @param attachmentUrl  the value for t_order_outsource.attachment_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setAttachmentUrl(String attachmentUrl) {
		this.attachmentUrl = attachmentUrl == null ? null : attachmentUrl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.amount
	 * @return  the value of t_order_outsource.amount
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public BigDecimal getAmount() {
		return amount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.amount
	 * @param amount  the value for t_order_outsource.amount
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.company_name
	 * @return  the value of t_order_outsource.company_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.company_name
	 * @param companyName  the value for t_order_outsource.company_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName == null ? null : companyName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.audit_time
	 * @return  the value of t_order_outsource.audit_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Date getAuditTime() {
		return auditTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.audit_time
	 * @param auditTime  the value for t_order_outsource.audit_time
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.unit_price
	 * @return  the value of t_order_outsource.unit_price
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.unit_price
	 * @param unitPrice  the value for t_order_outsource.unit_price
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.unit_number
	 * @return  the value of t_order_outsource.unit_number
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getUnitNumber() {
		return unitNumber;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.unit_number
	 * @param unitNumber  the value for t_order_outsource.unit_number
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setUnitNumber(Integer unitNumber) {
		this.unitNumber = unitNumber;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.outsource_remarks
	 * @return  the value of t_order_outsource.outsource_remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getOutsourceRemarks() {
		return outsourceRemarks;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.outsource_remarks
	 * @param outsourceRemarks  the value for t_order_outsource.outsource_remarks
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setOutsourceRemarks(String outsourceRemarks) {
		this.outsourceRemarks = outsourceRemarks == null ? null : outsourceRemarks.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.type
	 * @return  the value of t_order_outsource.type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.type
	 * @param type  the value for t_order_outsource.type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.tid
	 * @return  the value of t_order_outsource.tid
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getTid() {
		return tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.tid
	 * @param tid  the value for t_order_outsource.tid
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setTid(Integer tid) {
		this.tid = tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.start_type
	 * @return  the value of t_order_outsource.start_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getStartType() {
		return startType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.start_type
	 * @param startType  the value for t_order_outsource.start_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setStartType(Integer startType) {
		this.startType = startType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.patent_type
	 * @return  the value of t_order_outsource.patent_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getPatentType() {
		return patentType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.patent_type
	 * @param patentType  the value for t_order_outsource.patent_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setPatentType(Integer patentType) {
		this.patentType = patentType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.patent_name_type
	 * @return  the value of t_order_outsource.patent_name_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getPatentNameType() {
		return patentNameType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.patent_name_type
	 * @param patentNameType  the value for t_order_outsource.patent_name_type
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setPatentNameType(Integer patentNameType) {
		this.patentNameType = patentNameType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.patent_name
	 * @return  the value of t_order_outsource.patent_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getPatentName() {
		return patentName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.patent_name
	 * @param patentName  the value for t_order_outsource.patent_name
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setPatentName(String patentName) {
		this.patentName = patentName == null ? null : patentName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.actual_official
	 * @return  the value of t_order_outsource.actual_official
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public Integer getActualOfficial() {
		return actualOfficial;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.actual_official
	 * @param actualOfficial  the value for t_order_outsource.actual_official
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setActualOfficial(Integer actualOfficial) {
		this.actualOfficial = actualOfficial;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_outsource.picture_url
	 * @return  the value of t_order_outsource.picture_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public String getPictureUrl() {
		return pictureUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_outsource.picture_url
	 * @param pictureUrl  the value for t_order_outsource.picture_url
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl == null ? null : pictureUrl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", orderNo=").append(orderNo);
		sb.append(", refundStatus=").append(refundStatus);
		sb.append(", createTime=").append(createTime);
		sb.append(", remarks=").append(remarks);
		sb.append(", attachmentUrl=").append(attachmentUrl);
		sb.append(", amount=").append(amount);
		sb.append(", companyName=").append(companyName);
		sb.append(", auditTime=").append(auditTime);
		sb.append(", unitPrice=").append(unitPrice);
		sb.append(", unitNumber=").append(unitNumber);
		sb.append(", outsourceRemarks=").append(outsourceRemarks);
		sb.append(", type=").append(type);
		sb.append(", tid=").append(tid);
		sb.append(", startType=").append(startType);
		sb.append(", patentType=").append(patentType);
		sb.append(", patentNameType=").append(patentNameType);
		sb.append(", patentName=").append(patentName);
		sb.append(", actualOfficial=").append(actualOfficial);
		sb.append(", pictureUrl=").append(pictureUrl);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}

	private String reason;

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
}