57 lines
1.1 KiB
Java
57 lines
1.1 KiB
Java
package com.xkrs.model.entity;
|
|
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
|
|
|
@Entity
|
|
@Table(name = "agent_org")
|
|
public class AgentOrgEntity implements Serializable {
|
|
|
|
/**
|
|
* 主键id
|
|
*/
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "agent_org_seq_gen")
|
|
@SequenceGenerator(name = "agent_org_seq_gen", sequenceName = "agent_org_id_seq", allocationSize = 1)
|
|
private Long id;
|
|
|
|
/**
|
|
* 代理名称
|
|
*/
|
|
@Column(length = 128, columnDefinition = "varchar(128)")
|
|
private String orgName;
|
|
|
|
/**
|
|
* 截止日期
|
|
*/
|
|
@Column(length = 128, columnDefinition = "varchar(128)")
|
|
private String deadLine;
|
|
|
|
public AgentOrgEntity() {
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getOrgName() {
|
|
return orgName;
|
|
}
|
|
|
|
public void setOrgName(String orgName) {
|
|
this.orgName = orgName;
|
|
}
|
|
|
|
public String getDeadLine() {
|
|
return deadLine;
|
|
}
|
|
|
|
public void setDeadLine(String deadLine) {
|
|
this.deadLine = deadLine;
|
|
}
|
|
}
|