package com.xinelu.manage.dto.servicewaycontent;

import com.xinelu.common.annotation.Excel;
import com.xinelu.common.custominterface.Insert;
import com.xinelu.common.custominterface.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author : youxilong
 * @date : 2024/3/1 14:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "填加服务方式内容对象DTO")
public class ServiceWayContentAddDTO {
    /**
     * 服务方式id
     */
    private Long serviceWayId;


    /**
     * 服务内容
     */
    @ApiModelProperty(value = "服务内容")
    @Excel(name = "服务内容")
    @NotBlank(message = "服务内容不能为空", groups = {Insert.class, Update.class})
    private String serviceContent;

    /**
     * 服务频次类型，数字：DIGIT，文本：TEXT
     */
    @ApiModelProperty(value = "服务频次类型，数字：DIGIT，文本：TEXT")
    @Excel(name = "服务频次类型，数字：DIGIT，文本：TEXT")
    private String serviceFrequencyType;

    /**
     * 服务频次文本
     */
    @ApiModelProperty(value = "服务频次文本")
    @Excel(name = "服务频次文本")
    private String serviceFrequencyText;

    /**
     * 服务频次数字起始值
     */
    @ApiModelProperty(value = "服务频次数字起始值")
    @Excel(name = "服务频次数字起始值")
    private Integer serviceFrequencyStart;

    /**
     * 服务频次数字结束值
     */
    @ApiModelProperty(value = "服务频次数字结束值")
    @Excel(name = "服务频次数字结束值")
    private Integer serviceFrequencyEnd;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private Integer serviceSort;
}
