com.alipay.api.domain.CalendarScheduleInfo Maven / Gradle / Ivy
package com.alipay.api.domain;
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-16 11:50:27
*/
public class CalendarScheduleInfo extends AlipayObject {
private static final long serialVersionUID = 4493284997996445342L;
/**
* 时间分段时长,字段unit为单位,如duration=30,unit=MIN,则表示二进制的时间表表示将一天分为30分钟一小段的时间片段,用来表示服务者的时间是否可用
*/
@ApiField("duration")
private Long duration;
/**
* 服务者的服务时间表
*/
@ApiListField("schedule")
@ApiField("schedule_info")
private List schedule;
/**
* 间隔长度单位,默认为MIN(分钟),允许的单位有DAY(天)、WEEK(周)、MONTH(月)
*/
@ApiField("unit")
private String unit;
public Long getDuration() {
return this.duration;
}
public void setDuration(Long duration) {
this.duration = duration;
}
public List getSchedule() {
return this.schedule;
}
public void setSchedule(List schedule) {
this.schedule = schedule;
}
public String getUnit() {
return this.unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
}