package com.casic.missiles.model.business;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 分包方-能力表
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
@ApiModel
@Data
@TableName("business_outsourcer_ability")
public class BusinessOutsourcerAbility implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 分包方id
     */
    @NotNull(message = "分包方id不能为空")
    @ApiModelProperty(value = "分包方id", dataType = "Long")
    @TableField("outsourcer_id")
    private Long outsourcerId;

    /**
     * 能力名称
     */
    @NotBlank(message = "能力名称不能为空")
    @ApiModelProperty(value = "能力名称", dataType = "String")
    @TableField("ability_name")
    private String abilityName;

    /**
     * 能力描述
     */
    @ApiModelProperty(value = "能力描述", dataType = "String")
    @TableField("ability_desc")
    private String abilityDesc;

    /**
     * 报价
     */
    @ApiModelProperty(value = "报价", dataType = "String")
    @TableField("price")
    private String price;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间（列表返回参数）", dataType = "String")
    @TableField("create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("update_time")
    private String updateTime;


}
