📄 cstservice.java
字号:
package com.accp.po;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* CstService entity.
*
* @author MyEclipse Persistence Tools
*/
public class CstService implements java.io.Serializable {
// Fields
private Long svrId;
private CstCustomer cstCustomer;
private SysUser svrCreateId;
private String svrType;
private String svrTitle;
private String svrCustName;
private String svrStatus;
private String svrRequest;
private String svrCreateBy;
private Date svrCreateDate = new Date();
private Long svrDueId;
private String svrDueTo;
private Date svrDueDate = new Date();
private String svrDeal;
private Long svrDealId;
private String svrDealBy;
private Date svrDealDate = new Date();
private String svrResult;
private Integer svrSatisfy;
private SimpleDateFormat setsdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
private SimpleDateFormat getsdf = new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
// Constructors
/** default constructor */
public CstService() {
}
/** minimal constructor */
public CstService(Long svrId, SysUser svrCreateId, String svrType,
String svrTitle, String svrCustName, String svrStatus,
String svrRequest, String svrCreateBy, Date svrCreateDate) {
this.svrId = svrId;
this.svrCreateId = svrCreateId;
this.svrType = svrType;
this.svrTitle = svrTitle;
this.svrCustName = svrCustName;
this.svrStatus = svrStatus;
this.svrRequest = svrRequest;
this.svrCreateBy = svrCreateBy;
this.svrCreateDate = svrCreateDate;
}
/** full constructor */
public CstService(Long svrId, CstCustomer cstCustomer, SysUser svrCreateId,
String svrType, String svrTitle, String svrCustName,
String svrStatus, String svrRequest, String svrCreateBy,
Date svrCreateDate, Long svrDueId, String svrDueTo,
Date svrDueDate, String svrDeal, Long svrDealId, String svrDealBy,
Date svrDealDate, String svrResult, Integer svrSatisfy) {
this.svrId = svrId;
this.cstCustomer = cstCustomer;
this.svrCreateId = svrCreateId;
this.svrType = svrType;
this.svrTitle = svrTitle;
this.svrCustName = svrCustName;
this.svrStatus = svrStatus;
this.svrRequest = svrRequest;
this.svrCreateBy = svrCreateBy;
this.svrCreateDate = svrCreateDate;
this.svrDueId = svrDueId;
this.svrDueTo = svrDueTo;
this.svrDueDate = svrDueDate;
this.svrDeal = svrDeal;
this.svrDealId = svrDealId;
this.svrDealBy = svrDealBy;
this.svrDealDate = svrDealDate;
this.svrResult = svrResult;
this.svrSatisfy = svrSatisfy;
}
// Property accessors
public Long getSvrId() {
return this.svrId;
}
public void setSvrId(Long svrId) {
this.svrId = svrId;
}
public CstCustomer getCstCustomer() {
return this.cstCustomer;
}
public void setCstCustomer(CstCustomer cstCustomer) {
this.cstCustomer = cstCustomer;
}
public SysUser getSvrCreateId() {
return this.svrCreateId;
}
public void setSvrCreateId(SysUser svrCreateId) {
this.svrCreateId = svrCreateId;
}
public String getSvrType() {
return this.svrType;
}
public void setSvrType(String svrType) {
this.svrType = svrType;
}
public String getSvrTitle() {
return this.svrTitle;
}
public void setSvrTitle(String svrTitle) {
this.svrTitle = svrTitle;
}
public String getSvrCustName() {
return this.svrCustName;
}
public void setSvrCustName(String svrCustName) {
this.svrCustName = svrCustName;
}
public String getSvrStatus() {
return this.svrStatus;
}
public void setSvrStatus(String svrStatus) {
this.svrStatus = svrStatus;
}
public String getSvrRequest() {
return this.svrRequest;
}
public void setSvrRequest(String svrRequest) {
this.svrRequest = svrRequest;
}
public String getSvrCreateBy() {
return this.svrCreateBy;
}
public void setSvrCreateBy(String svrCreateBy) {
this.svrCreateBy = svrCreateBy;
}
public Date getSvrCreateDate() {
return this.svrCreateDate;
}
public void setSvrCreateDate(Date svrCreateDate) {
this.svrCreateDate = svrCreateDate;
}
public String getCreateDate()
{
if(this.svrCreateDate != null)
return this.getsdf.format(svrCreateDate);
else
return "创建日期转换格式出错!";
}
public void setCreateDate(String createDate)
{
try {
this.svrCreateDate = setsdf.parse(createDate);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public Long getSvrDueId() {
return this.svrDueId;
}
public void setSvrDueId(Long svrDueId) {
this.svrDueId = svrDueId;
}
public String getSvrDueTo() {
return this.svrDueTo;
}
public void setSvrDueTo(String svrDueTo) {
this.svrDueTo = svrDueTo;
}
public Date getSvrDueDate() {
return this.svrDueDate;
}
public void setSvrDueDate(Date svrDueDate) {
this.svrDueDate = svrDueDate;
}
public String getDueDate()
{
if(this.svrDueDate != null)
return this.getsdf.format(svrDueDate);
else
return "处理日期转换出错!";
}
public void setDueDate(String dueDate)
{
try {
this.svrDueDate = setsdf.parse(dueDate);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public String getSvrDeal() {
return this.svrDeal;
}
public void setSvrDeal(String svrDeal) {
this.svrDeal = svrDeal;
}
public Long getSvrDealId() {
return this.svrDealId;
}
public void setSvrDealId(Long svrDealId) {
this.svrDealId = svrDealId;
}
public String getSvrDealBy() {
return this.svrDealBy;
}
public void setSvrDealBy(String svrDealBy) {
this.svrDealBy = svrDealBy;
}
public Date getSvrDealDate() {
return this.svrDealDate;
}
public void setSvrDealDate(Date svrDealDate) {
this.svrDealDate = svrDealDate;
}
public String getDealDate()
{
if(this.svrDealDate != null)
return this.getsdf.format(svrDealDate);
else
return "分配日期转换出错!";
}
public void setDealDate(String dealDate)
{
try {
this.svrDealDate = setsdf.parse(dealDate);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public String getSvrResult() {
return this.svrResult;
}
public void setSvrResult(String svrResult) {
this.svrResult = svrResult;
}
public Integer getSvrSatisfy() {
return this.svrSatisfy;
}
public void setSvrSatisfy(Integer svrSatisfy) {
this.svrSatisfy = svrSatisfy;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -