package com.leromro.core.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.leromro.common.annotation.Sensitive;
import com.leromro.common.enums.DesensitizedType;
import com.leromro.core.domain.VolunteerInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 志愿者详情VO
 */
@Data
public class VolunteerInfoDetailVO {

    @ApiModelProperty("业务价格")
    private BigDecimal businessPrice;

    @ApiModelProperty("业务时长(整数分钟)")
    private Integer businessDuration;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "volunteer_info_id", type = IdType.AUTO)
    private Long volunteerInfoId;

    @ApiModelProperty(value = "用户id")
    private Long volunteerId;

    @ApiModelProperty(value = "志愿者姓名")
    private String name;

    @Sensitive(desensitizedType = DesensitizedType.ID_CARD)
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "照片")
    private String idCardPicture;

    @ApiModelProperty(value = "评分")
    private Double score;

    @ApiModelProperty(value = "大类别")
    private Long serviceCategory;

    @ApiModelProperty(value = "技能描述")
    private String skillDescribe;

    @Sensitive(desensitizedType = DesensitizedType.PHONE)
    @ApiModelProperty(value = "联系电话")
    private String phonenumber;

    @ApiModelProperty(value = "性别 0女 1男")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "状态 0 不接单  1 正在接单")
    private Integer status;

    @ApiModelProperty(value = "证书图片")
    private String certificationPicture;

    @ApiModelProperty(value = "志愿者照片")
    private String volunteerPicture;



    @ApiModelProperty(value = "地区")
    private String city;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "业务id")
    private Long businessManagementId;

    @ApiModelProperty(value = "审批状态 1待审批2已通过3已驳回")
    private String appStatus;

    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;

    @TableField("project_name")
    @ApiModelProperty("服务项目名称")
    private String projectName;

    @TableField("project_type_name")
    @ApiModelProperty("项目类别名称")
    private String  projectTypeName;

    @ApiModelProperty("科目名称")
    private String serviceSubjectName;

    @ApiModelProperty("业务层级名称")
    private String businessTierName;

    @ApiModelProperty("商品单位")
    private String businessUnit;

    @ApiModelProperty("服务描述")
    private String businessDescribe;

    @ApiModelProperty("最少购买数量")
    private String minQuantity;


}
