package com.oned6z;
/**
* @program: com.oned6z
* @description: 狗狗类
* @author: Mr.Lin
* @create: 2019年7月15日
**/
public class Dog {
private String name ; //昵称,默认值是无名氏
private String type;
private String sex;
private int love ; //亲密度,默认值是100,健康值在1-100之间,小于60为不亲密
private int health ;//健康值,默认值是100,健康值在1-100之间,小于60为不健康
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
//为private的属性加一对se