All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.domain.PlatformPetProfile Maven / Gradle / Ivy

package com.alipay.api.domain;

import java.util.Date;
import java.util.List;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;

/**
 * 平台宠物档案
 *
 * @author auto create
 * @since 1.0, 2022-06-21 14:40:46
 */
public class PlatformPetProfile extends AlipayObject {

	private static final long serialVersionUID = 6847135918967829125L;

	/**
	 * 宠物生日,生日不能早于2000年,且不能晚于当天
	 */
	@ApiField("birthday")
	private Date birthday;

	/**
	 * 宠物性别 1 公; 2 母
	 */
	@ApiField("gender")
	private Long gender;

	/**
	 * 宠物昵称,不能包含字母、数字和中文以外的字符
	 */
	@ApiField("nick")
	private String nick;

	/**
	 * 宠物档案petid
	 */
	@ApiField("pet_id")
	private String petId;

	/**
	 * 宠物照片列表
	 */
	@ApiListField("photos")
	@ApiField("pet_photo")
	private List photos;

	/**
	 * 是否绝育,0:否;1:是;2:未知
	 */
	@ApiField("sterilization")
	private Long sterilization;

	/**
	 * 宠物类型:狗(2000)/猫(1000)
	 */
	@ApiField("type")
	private String type;

	public Date getBirthday() {
		return this.birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Long getGender() {
		return this.gender;
	}
	public void setGender(Long gender) {
		this.gender = gender;
	}

	public String getNick() {
		return this.nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getPetId() {
		return this.petId;
	}
	public void setPetId(String petId) {
		this.petId = petId;
	}

	public List getPhotos() {
		return this.photos;
	}
	public void setPhotos(List photos) {
		this.photos = photos;
	}

	public Long getSterilization() {
		return this.sterilization;
	}
	public void setSterilization(Long sterilization) {
		this.sterilization = sterilization;
	}

	public String getType() {
		return this.type;
	}
	public void setType(String type) {
		this.type = type;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy