package com.goafanti.common.model;

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

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;

import com.goafanti.common.constant.ErrorConstants;

public class ThirdPartyCompany {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.id
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.tid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer tid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.company_name
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private String companyName;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.unit_price
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	@DecimalMax(value = "999999", message = "{" + ErrorConstants.DECIMAL_PARAM_MAX_ERROR + "}")
	@DecimalMin(value = "0", message = "{" + ErrorConstants.DECIMAL_PARAM_MIN_ERROR + "}")
	private BigDecimal unitPrice;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.quantity
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer quantity;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.total_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	@DecimalMax(value = "999999", message = "{" + ErrorConstants.DECIMAL_PARAM_MAX_ERROR + "}")
	@DecimalMin(value = "0", message = "{" + ErrorConstants.DECIMAL_PARAM_MIN_ERROR + "}")
	private BigDecimal totalAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.material
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer material;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.urgent
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer urgent;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.audit
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer audit;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.assets
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private String assets;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.income
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private String income;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.remarks
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private String remarks;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.create_time
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Date createTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.cid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer cid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.party_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private BigDecimal partyAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer type;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.patent_name_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer patentNameType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.official_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private BigDecimal officialAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.start_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer startType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column third_party_company.patent_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	private Integer patentType;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.id
	 * @return  the value of third_party_company.id
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.id
	 * @param id  the value for third_party_company.id
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.tid
	 * @return  the value of third_party_company.tid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getTid() {
		return tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.tid
	 * @param tid  the value for third_party_company.tid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setTid(Integer tid) {
		this.tid = tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.company_name
	 * @return  the value of third_party_company.company_name
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.company_name
	 * @param companyName  the value for third_party_company.company_name
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.unit_price
	 * @return  the value of third_party_company.unit_price
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.unit_price
	 * @param unitPrice  the value for third_party_company.unit_price
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.quantity
	 * @return  the value of third_party_company.quantity
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getQuantity() {
		return quantity;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.quantity
	 * @param quantity  the value for third_party_company.quantity
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.total_amount
	 * @return  the value of third_party_company.total_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.total_amount
	 * @param totalAmount  the value for third_party_company.total_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.material
	 * @return  the value of third_party_company.material
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getMaterial() {
		return material;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.material
	 * @param material  the value for third_party_company.material
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setMaterial(Integer material) {
		this.material = material;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.urgent
	 * @return  the value of third_party_company.urgent
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getUrgent() {
		return urgent;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.urgent
	 * @param urgent  the value for third_party_company.urgent
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setUrgent(Integer urgent) {
		this.urgent = urgent;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.audit
	 * @return  the value of third_party_company.audit
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getAudit() {
		return audit;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.audit
	 * @param audit  the value for third_party_company.audit
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setAudit(Integer audit) {
		this.audit = audit;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.assets
	 * @return  the value of third_party_company.assets
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public String getAssets() {
		return assets;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.assets
	 * @param assets  the value for third_party_company.assets
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setAssets(String assets) {
		this.assets = assets;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.income
	 * @return  the value of third_party_company.income
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public String getIncome() {
		return income;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.income
	 * @param income  the value for third_party_company.income
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setIncome(String income) {
		this.income = income;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.remarks
	 * @return  the value of third_party_company.remarks
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public String getRemarks() {
		return remarks;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.remarks
	 * @param remarks  the value for third_party_company.remarks
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.create_time
	 * @return  the value of third_party_company.create_time
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.create_time
	 * @param createTime  the value for third_party_company.create_time
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.cid
	 * @return  the value of third_party_company.cid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getCid() {
		return cid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.cid
	 * @param cid  the value for third_party_company.cid
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setCid(Integer cid) {
		this.cid = cid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.party_amount
	 * @return  the value of third_party_company.party_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public BigDecimal getPartyAmount() {
		return partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.party_amount
	 * @param partyAmount  the value for third_party_company.party_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setPartyAmount(BigDecimal partyAmount) {
		this.partyAmount = partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.type
	 * @return  the value of third_party_company.type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.type
	 * @param type  the value for third_party_company.type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.patent_name_type
	 * @return  the value of third_party_company.patent_name_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getPatentNameType() {
		return patentNameType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.patent_name_type
	 * @param patentNameType  the value for third_party_company.patent_name_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setPatentNameType(Integer patentNameType) {
		this.patentNameType = patentNameType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.official_amount
	 * @return  the value of third_party_company.official_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public BigDecimal getOfficialAmount() {
		return officialAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.official_amount
	 * @param officialAmount  the value for third_party_company.official_amount
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setOfficialAmount(BigDecimal officialAmount) {
		this.officialAmount = officialAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.start_type
	 * @return  the value of third_party_company.start_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getStartType() {
		return startType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.start_type
	 * @param startType  the value for third_party_company.start_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setStartType(Integer startType) {
		this.startType = startType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column third_party_company.patent_type
	 * @return  the value of third_party_company.patent_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public Integer getPatentType() {
		return patentType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column third_party_company.patent_type
	 * @param patentType  the value for third_party_company.patent_type
	 * @mbg.generated  Thu Oct 22 16:26:31 CST 2020
	 */
	public void setPatentType(Integer patentType) {
		this.patentType = patentType;
	}
}