首页>代码>ssm框架实现的简单增删改查功能>/MyMvc/src/main/java/edu/gyc/model/Car.java
package edu.gyc.model;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
public class Car {
    private Integer id;

    private String name;

    private String brand;

    private String type;

    private BigDecimal price;

    public Integer getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
最近下载更多
agony2024  LV1 4月21日
xalnb04  LV1 4月20日
xtclhl  LV1 4月19日
quanksxy  LV1 4月18日
wlslei  LV1 4月12日
旺旺小小舒  LV16 3月20日
血羽如风  LV4 1月25日
沈从文  LV2 1月1日
最近浏览更多
jerry9832 4月22日
暂无贡献等级
agony2024  LV1 4月21日
暂无贡献等级
文112233 4月21日
暂无贡献等级
xalnb04  LV1 4月20日
xtclhl  LV1 4月19日
quanksxy  LV1 4月18日
wlslei  LV1 4月12日
2131234536546  LV7 3月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友