⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cstactivity.java

📁 做的是一个客户关系管理系统
💻 JAVA
字号:
package com.accp.dao;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.lowagie.text.pdf.codec.postscript.ParseException;

/**
 * CstActivity generated by MyEclipse Persistence Tools
 */

public class CstActivity implements java.io.Serializable {

	// Fields

	private Long atvId;

	private CstCustomer cstCustomer;

	private String atvCustName;

	private Date atvDate;

	private String atvPlace;

	private String atvTitle;

	private String atvDesc;
	
	private String date;
	

	// Constructors

	public String getDate() {
		return date;
	}

	public void setDate(String date) throws Exception  {
		SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd");
		this.atvDate = sd.parse(date);
		}

	/** default constructor */
	public CstActivity() {
	}

	/** minimal constructor */
	public CstActivity(Date atvDate, String atvPlace, String atvTitle) {
		this.atvDate = atvDate;
		this.atvPlace = atvPlace;
		this.atvTitle = atvTitle;
	}

	/** full constructor */
	public CstActivity(CstCustomer cstCustomer, String atvCustName,
			Date atvDate, String atvPlace, String atvTitle, String atvDesc) {
		this.cstCustomer = cstCustomer;
		this.atvCustName = atvCustName;
		this.atvDate = atvDate;
		this.atvPlace = atvPlace;
		this.atvTitle = atvTitle;
		this.atvDesc = atvDesc;
	}

	// Property accessors

	public Long getAtvId() {
		return this.atvId;
	}

	public void setAtvId(Long atvId) {
		this.atvId = atvId;
	}

	public CstCustomer getCstCustomer() {
		return this.cstCustomer;
	}

	public void setCstCustomer(CstCustomer cstCustomer) {
		this.cstCustomer = cstCustomer;
	}

	public String getAtvCustName() {
		return this.atvCustName;
	}

	public void setAtvCustName(String atvCustName) {
		this.atvCustName = atvCustName;
	}

	public Date getAtvDate() {
		return this.atvDate;
	}

	public void setAtvDate(Date atvDate) {
		this.atvDate = atvDate;
	}

	public String getAtvPlace() {
		return this.atvPlace;
	}

	public void setAtvPlace(String atvPlace) {
		this.atvPlace = atvPlace;
	}

	public String getAtvTitle() {
		return this.atvTitle;
	}

	public void setAtvTitle(String atvTitle) {
		this.atvTitle = atvTitle;
	}

	public String getAtvDesc() {
		return this.atvDesc;
	}

	public void setAtvDesc(String atvDesc) {
		this.atvDesc = atvDesc;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -