package com.yuchen.saas.park.api.entity.resource;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * 资源管理表
 *
 * @author zhouhanwei
 * @since 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_park_resource_info")
@ApiModel(value="SaasParkResourceInfo对象", description="资源管理表")
public class SaasParkResourceInfo extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    private Long projectId;
    /**
     * 资源编号
     */
    @ApiModelProperty(name = "resourceCode", value = "资源编号")
    private String resourceCode;
    /**
     * 资源名称
     */
    @ApiModelProperty(name = "resourceName", value = "资源名称")
    private String resourceName;
    /**
     * 资源类型（1：会所资源）
     */
    @ApiModelProperty(name = "resourceTypeId", value = "资源类型（1：会所资源）")
    private Long resourceTypeId;
    /**
     * 资源标签,字典编码为resource_tags（多选逗号隔开）
     */
    @ApiModelProperty(name = "resourceTags", value = "资源标签,字典编码为resource_tags（多选逗号隔开）")
    private String resourceTags;
    /**
     * 省编码
     */
    @ApiModelProperty(name = "provinceCode", value = "省编码")
    private String provinceCode;
    /**
     * 省名称
     */
    @ApiModelProperty(name = "provinceName", value = "省名称")
    private String provinceName;
    /**
     * 市编码
     */
    @ApiModelProperty(name = "cityCode", value = "市编码")
    private String cityCode;
    /**
     * 市名称
     */
    @ApiModelProperty(name = "cityName", value = "市名称")
    private String cityName;
    /**
     * 县/区编码
     */
    @ApiModelProperty(name = "countyCode", value = "县/区编码")
    private String countyCode;
    /**
     * 县/区名称
     */
    @ApiModelProperty(name = "countyName", value = "县/区名称")
    private String countyName;
    /**
     * 详细地址
     */
    @ApiModelProperty(name = "addressName", value = "详细地址")
    private String addressName;
    /**
     * 资源开始时间
     */
    @ApiModelProperty(name = "resourceStartTime", value = "资源开始时间")
    private Date resourceStartTime;
    /**
     * 资源结束时间
     */
    @ApiModelProperty(name = "resourceEndTime", value = "资源结束时间")
    private Date resourceEndTime;
    /**
     * 资源图片地址
     */
    @ApiModelProperty(name = "resourceImages", value = "资源图片地址")
    private String resourceImages;
    /**
     * 资源描述
     */
    @ApiModelProperty(name = "resourceDesc", value = "资源描述")
    private String resourceDesc;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "linkman", value = "联系人")
    private String linkman;
    /**
     * 联系人电话
     */
    @ApiModelProperty(name = "linkmanPhone", value = "联系人电话")
    private String linkmanPhone;
    /**
     * 客服电话
     */
    @ApiModelProperty(name = "customerServicePhone", value = "客服电话")
    private String customerServicePhone;
    /**
     * 资源开放开始时间
     */
    @ApiModelProperty(name = "openStartTime", value = "资源开放开始时间")
    private Date openStartTime;
    /**
     * 资源开放结束时间
     */
    @ApiModelProperty(name = "openEndTime", value = "资源开放结束时间")
    private Date openEndTime;
    /**
     * 预约方式（1：提前预约，2：无需预约）
     */
    @ApiModelProperty(name = "subscribeMode", value = "预约方式（1：提前预约，2：无需预约）")
    private String subscribeMode;
    /**
     * 预定类型（1：按时，2：按天）
     */
    @ApiModelProperty(name = "subscribeType", value = "预定类型（1：按时，2：按天）")
    private String subscribeType;
    /**
     * 资源需提前多少天预约，单位天
     */
    @ApiModelProperty(name = "resourceSubscribeLeadDay", value = "资源需提前多少天预约，单位天")
    private Integer resourceSubscribeLeadDay;
    /**
     * 用户需提前多少小时预约，单位小时
     */
    @ApiModelProperty(name = "userSubscribeLeadHour", value = "用户需提前多少小时预约，单位小时")
    private Integer userSubscribeLeadHour;
    /**
     * 预约范围（1：全体用户，2：住户人员）
     */
    @ApiModelProperty(name = "userSubscribeScope", value = "预约范围（1：全体用户，2：住户人员）")
    private Integer userSubscribeScope;
    /**
     * 收费方式（1：收费，2：免费）
     */
    @ApiModelProperty(name = "chargeMode", value = "收费方式（1：收费，2：免费）")
    private String chargeMode;
    /**
     * 价格类型（1：定金，2：金额）
     */
    @ApiModelProperty(name = "priceType", value = "价格类型（1：定金，2：金额）")
    private String priceType;
    /**
     * 现价，单位分
     */
    @ApiModelProperty(name = "currentPrice", value = "现价，单位分")
    private Long currentPrice;
    /**
     * 原价，单位分
     */
    @ApiModelProperty(name = "originalPrice", value = "原价，单位分")
    private Long originalPrice;

    /**
     * 资源状态(1:已发布，2：待发布，3：已过期)
     */
    @ApiModelProperty(name = "resourceState", value = "资源状态(1:已发布，2：待发布，3：已过期)")
    private String resourceState;

    /**
     * 发布时间
     */
    @ApiModelProperty(name = "publishDate", value = "发布时间")
    private Date publishDate;



}
