package com.goafanti.admin.bo; import java.math.BigDecimal; import java.util.Date; import org.apache.commons.lang3.time.DateFormatUtils; import com.goafanti.common.constant.AFTConstants; public class ProjectSizeBo { /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private String id; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.create_id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private String createId; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.create_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private Date createTime; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.update_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private Date updateTime; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.pid * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private String pid; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.pname * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private String pname; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private BigDecimal price; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.offset * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private BigDecimal offset; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.activity_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private BigDecimal activityPrice; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.activity_flag * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private String activityFlag; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.member_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private BigDecimal memberPrice; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column project_size.status * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ private Integer status; /** * 项目名称 */ private String bname; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.id * * @return the value of project_size.id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public String getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.id * * @param id the value for project_size.id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setId(String id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.create_id * * @return the value of project_size.create_id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public String getCreateId() { return createId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.create_id * * @param createId the value for project_size.create_id * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setCreateId(String createId) { this.createId = createId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.create_time * * @return the value of project_size.create_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public Date getCreateTime() { return createTime; } public String getCreateTimeFormattedDate() { if (this.createTime == null) { return null; } else { return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS); } } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.create_time * * @param createTime the value for project_size.create_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setCreateTime(Date createTime) { this.createTime = createTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.update_time * * @return the value of project_size.update_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public Date getUpdateTime() { return updateTime; } public String getUpdateTimeFormattedDate() { if (this.updateTime == null) { return null; } else { return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS); } } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.update_time * * @param updateTime the value for project_size.update_time * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.pid * * @return the value of project_size.pid * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public String getPid() { return pid; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.pid * * @param pid the value for project_size.pid * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setPid(String pid) { this.pid = pid; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.pname * * @return the value of project_size.pname * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public String getPname() { return pname; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.pname * * @param pname the value for project_size.pname * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setPname(String pname) { this.pname = pname; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.price * * @return the value of project_size.price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public BigDecimal getPrice() { return price; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.price * * @param price the value for project_size.price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setPrice(BigDecimal price) { this.price = price; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.offset * * @return the value of project_size.offset * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public BigDecimal getOffset() { return offset; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.offset * * @param offset the value for project_size.offset * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setOffset(BigDecimal offset) { this.offset = offset; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.activity_price * * @return the value of project_size.activity_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public BigDecimal getActivityPrice() { return activityPrice; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.activity_price * * @param activityPrice the value for project_size.activity_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setActivityPrice(BigDecimal activityPrice) { this.activityPrice = activityPrice; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.activity_flag * * @return the value of project_size.activity_flag * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public String getActivityFlag() { return activityFlag; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.activity_flag * * @param activityFlag the value for project_size.activity_flag * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setActivityFlag(String activityFlag) { this.activityFlag = activityFlag; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.member_price * * @return the value of project_size.member_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public BigDecimal getMemberPrice() { return memberPrice; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.member_price * * @param memberPrice the value for project_size.member_price * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setMemberPrice(BigDecimal memberPrice) { this.memberPrice = memberPrice; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column project_size.status * * @return the value of project_size.status * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public Integer getStatus() { return status; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column project_size.status * * @param status the value for project_size.status * * @mbg.generated Mon Dec 04 09:52:04 CST 2017 */ public void setStatus(Integer status) { this.status = status; } public String getBname() { return bname; } public void setBname(String bname) { this.bname = bname; } }