package com.hwrj.cloud.admin.dto;

import com.hwrj.cloud.admin.model.UmsMemberOriginProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @className:
 * @description:
 * @author: lym
 * @date: 2020/9/7 17:50
 */
@Data
@ApiModel("生产基地信息")
public class UmsMemberOriginParam {

    @ApiModelProperty(value = "主键")
    private Long id;
    @NotNull(message = "请选择供应商")
    @ApiModelProperty(value = "供应商id (供应商信息表 ums_company_info -> id)")
    private Long compId;

    @ApiModelProperty(value = "供应商名称")
    private String compName;

    @ApiModelProperty(value = "生产地名称")
    @NotEmpty(message = "生产地名称不能为空!")
    private String originName;

    @ApiModelProperty(value = "生产地面积（亩）")
    private Double originArea;

    @ApiModelProperty(value = "人数")
    private Integer peopleNum;

    @ApiModelProperty(value = "建立日期（年）")
    private String foundDate;

    @ApiModelProperty(value = "联系人")
    private String linkUser;

    @ApiModelProperty(value = "联系方式")
    private String linkPhone;

    @ApiModelProperty(value = "省")
    private String provinceName;

    @ApiModelProperty(value = "市")
    private String cityName;

    @ApiModelProperty(value = "县")
    private String countyName;

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

    private String altitude;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "状态 0:可用，1:禁用，2:删除")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private Integer createId;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人id")
    private Integer updateId;

    @ApiModelProperty(value = "生产地图片")
    private String imgUrl;

    @ApiModelProperty(value = "生产地宣传视频地址")
    private String videoUrl;

    @ApiModelProperty(value = "vr地址")
    private String vrUrl;

    @ApiModelProperty(value = "实时监控视频地址")
    private String cameraUrl;

    @ApiModelProperty(value = "简介")
    private String summary;

    @ApiModelProperty(value = "备注")
    private String remark;

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    @ApiModelProperty(value = "生产地产出物")
    private List<UmsMemberOriginProduct> productlist;
}
