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

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

The newest version!
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, 2017-01-13 16:27:52
 */
public class CraftsmanOpenModel extends AlipayObject {

	private static final long serialVersionUID = 1642689593138429856L;

	/**
	 * 手艺人账户名,仅支持小写字母和数字。上限12个小写字母或者数字。举例,若商户在口碑商家的登录账号为 [email protected],手艺人账号名为zhangsan,则手艺人登录口碑商家的账号名为 [email protected]#zhangsan,获取登录密码需要扫商户app的员工激活码。从口碑商家app的员工管理进入员工详情页获取登录密码。
	 */
	@ApiField("account")
	private String account;

	/**
	 * 手艺人评分信息
	 */
	@ApiField("assessment")
	private CraftsmanAssessment assessment;

	/**
	 * 手艺人头像,在商家端手艺人管理和用户端手艺人个人简介中展示手艺人头像 (通过 alipay.offline.material.image.upload 接口上传图片获取的资源id),上限最大5M,支持bmp,png,jpeg,jpg,gif格式的图片。
	 */
	@ApiField("avatar")
	private String avatar;

	/**
	 * 从业起始年月
	 */
	@ApiField("career_begin")
	private Date careerBegin;

	/**
	 * 职业。目前只能传支持一个。枚举类型目前有19种,发型师、美甲师、美容师、美睫师、纹绣师、纹身师、摄影师、教练、教师、化妆师、司仪、摄像师、按摩技师、足疗技师、灸疗师、理疗师、修脚师、采耳师、其他。
	 */
	@ApiListField("careers")
	@ApiField("string")
	private List careers;

	/**
	 * 口碑手艺人id
	 */
	@ApiField("craftsman_id")
	private String craftsmanId;

	/**
	 * 手艺人简介,上限300字。
	 */
	@ApiField("introduction")
	private String introduction;

	/**
	 * 手艺人真实姓名,isv生成,由手艺人用户在isv系统填写,展示给商户看。上限40个字。
	 */
	@ApiField("name")
	private String name;

	/**
	 * 昵称,上限16字,手艺人个人主页名称,展示给消费者看。
	 */
	@ApiField("nick_name")
	private String nickName;

	/**
	 * 手艺人关联的操作员ID
	 */
	@ApiField("operator_id")
	private String operatorId;

	/**
	 * 外部手艺人id,由ISV生成,isv的appId + 外部手艺人id全局唯一
	 */
	@ApiField("out_craftsman_id")
	private String outCraftsmanId;

	/**
	 * 收款二维码地址,手艺人收款码,每个手艺人都有一个收款二维码。该二维码收款所得的金额进入商户的账号,如果手艺人所在的门店设置了门店收款账号,则资金进入门店收款账号,如果没有设置门店收款账号,则资金进入商户与口碑开店签约的支付宝账号。
	 */
	@ApiField("qr_code")
	private String qrCode;

	/**
	 * 手艺人所属门店
	 */
	@ApiListField("shop_relations")
	@ApiField("craftsman_shop_relation_open_model")
	private List shopRelations;

	/**
	 * 描述手艺人擅长的技术(如烫染、二分式剪法、足疗、中医推拿、刮痧、火疗、拔罐、婚纱、儿童、写真...)。最多6个标签,每个标签字段上限10个字。
	 */
	@ApiListField("specialities")
	@ApiField("string")
	private List specialities;

	/**
	 * 手艺人状态,EFFECTIVE和INVALID,生效和失效。失效状态一般用于手艺人已离职 或者 手艺人发布不实信息导致用户投诉被平台处罚。
	 */
	@ApiField("status")
	private String status;

	/**
	 * 手艺人的手机号,在商家端和用户端展示,不支持座机
	 */
	@ApiField("tel_num")
	private String telNum;

	/**
	 * 头衔,手艺人在店内的职称。上限10个字。
	 */
	@ApiField("title")
	private String title;

	/**
	 * 支付宝账户uid
	 */
	@ApiField("user_id")
	private String userId;

	public String getAccount() {
		return this.account;
	}
	public void setAccount(String account) {
		this.account = account;
	}

	public CraftsmanAssessment getAssessment() {
		return this.assessment;
	}
	public void setAssessment(CraftsmanAssessment assessment) {
		this.assessment = assessment;
	}

	public String getAvatar() {
		return this.avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Date getCareerBegin() {
		return this.careerBegin;
	}
	public void setCareerBegin(Date careerBegin) {
		this.careerBegin = careerBegin;
	}

	public List getCareers() {
		return this.careers;
	}
	public void setCareers(List careers) {
		this.careers = careers;
	}

	public String getCraftsmanId() {
		return this.craftsmanId;
	}
	public void setCraftsmanId(String craftsmanId) {
		this.craftsmanId = craftsmanId;
	}

	public String getIntroduction() {
		return this.introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getNickName() {
		return this.nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getOperatorId() {
		return this.operatorId;
	}
	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getOutCraftsmanId() {
		return this.outCraftsmanId;
	}
	public void setOutCraftsmanId(String outCraftsmanId) {
		this.outCraftsmanId = outCraftsmanId;
	}

	public String getQrCode() {
		return this.qrCode;
	}
	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public List getShopRelations() {
		return this.shopRelations;
	}
	public void setShopRelations(List shopRelations) {
		this.shopRelations = shopRelations;
	}

	public List getSpecialities() {
		return this.specialities;
	}
	public void setSpecialities(List specialities) {
		this.specialities = specialities;
	}

	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public String getTelNum() {
		return this.telNum;
	}
	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	public String getTitle() {
		return this.title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public String getUserId() {
		return this.userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy