package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.cpop.core.annontation.StringArrayConvert;

/**
 * 任务-工单表Bo
 *
 * @author DB.lost
 * @since 2023-07-10
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TaskWorkOrder对象", description = "任务-工单表")
public class TaskWorkOrderBo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private String id;

    /**
     * 品牌id
     */
    @NotBlank(message = "品牌id不能为空")
    @ApiModelProperty(value = "品牌id", required = true)
    private String brandId;

    /**
     * 校区id
     */
    @NotBlank(message = "校区/店铺id不能为空")
    @ApiModelProperty(value = "校区/店铺id", required = true)
    private String storeId;

    /**
     * 工单内容
     */
    @NotBlank(message = "工单内容不能为空")
    @ApiModelProperty(value = "工单内容", required = true)
    private String taskContent;

    /**
     * 任务类型(0:迭代;1:需求;2:工单)
     */
    @NotNull(message = "任务类型不能为空")
    @ApiModelProperty(value = "任务类型(0:迭代;1:需求;2:工单)", required = true)
    private Integer taskType;

    /**
     * 问题手机号
     */
    @ApiModelProperty("问题手机号")
    private String phoneNumber;

    /**
     * 附件地址
     */
    @ApiModelProperty("附件地址")
    private String attachmentUrl;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

}
