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

📄 1059e1b94899001b1d82e753a621f0e9

📁 用jsf实现cd商店的程序
💻
字号:
package com.tangjun.web.pojo;

// default package



/**
 * CD generated by MyEclipse - Hibernate Tools
 */

public class CD  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private CDType cdtype;
     private String artist;
     private String specialTitle;
     private float price;


    // Constructors

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

	/** minimal constructor */
    public CD(CDType cdtype) {
        this.cdtype = cdtype;
    }
    
    /** full constructor */
    public CD(CDType cdtype, String artist, String specialTitle, float price) {
        this.cdtype = cdtype;
        this.artist = artist;
        this.specialTitle = specialTitle;
        this.price = price;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public CDType getCdtype() {
        return this.cdtype;
    }
    
    public void setCdtype(CDType cdtype) {
        this.cdtype = cdtype;
    }

    public String getArtist() {
        return this.artist;
    }
    
    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getSpecialTitle() {
        return this.specialTitle;
    }
    
    public void setSpecialTitle(String specialTitle) {
        this.specialTitle = specialTitle;
    }

    public float getPrice() {
        return this.price;
    }
    
    public void setPrice(float price) {
        this.price = price;
    }
   








}

⌨️ 快捷键说明

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