parent
80f25340c2
commit
ce52929ef3
@ -0,0 +1,81 @@
|
||||
package com.prj.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
@Table(name="hire_num")
|
||||
public class HireNum
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 编号 */
|
||||
@Id
|
||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
/** 部门 */
|
||||
@Column(name = "dept")
|
||||
private String dept;
|
||||
|
||||
/** 招人名额 */
|
||||
@Column(name = "num")
|
||||
private BigDecimal num;
|
||||
|
||||
/** 截止时间 */
|
||||
@Column(name = "endtime")
|
||||
private String endtime;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setDept(String dept)
|
||||
{
|
||||
this.dept = dept;
|
||||
}
|
||||
|
||||
public String getDept()
|
||||
{
|
||||
return dept;
|
||||
}
|
||||
public void setNum(BigDecimal num)
|
||||
{
|
||||
this.num = num;
|
||||
}
|
||||
|
||||
public BigDecimal getNum()
|
||||
{
|
||||
return num;
|
||||
}
|
||||
public void setEndtime(String endtime)
|
||||
{
|
||||
this.endtime = endtime;
|
||||
}
|
||||
|
||||
public String getEndtime()
|
||||
{
|
||||
return endtime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("dept", getDept())
|
||||
.append("num", getNum())
|
||||
.append("endtime", getEndtime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in new issue