package org.jeecg.modules.studytourActivity.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.studytourActivityDate.entity.StudytourActivityDate;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 活动信息表
 * @Author: jeecg-boot
 * @Date:   2025-09-01
 * @Version: V1.0
 */
@Data
@TableName("studytour_activity")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="studytour_activity对象", description="活动信息表")
public class StudytourActivity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private java.lang.String title;
	/**简介*/
	@Excel(name = "简介", width = 15)
    @ApiModelProperty(value = "简介")
    private java.lang.String brief;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private java.lang.String image;
	/**原价*/
	@Excel(name = "原价", width = 15)
    @ApiModelProperty(value = "原价")
    private java.math.BigDecimal priceOrigin;
	/**优惠价*/
	@Excel(name = "优惠价", width = 15)
    @ApiModelProperty(value = "优惠价")
    private java.math.BigDecimal priceDiscount;
	/**列表标签*/
	@Excel(name = "列表标签", width = 15)
    @ApiModelProperty(value = "列表标签")
    private java.lang.String tagList;
	/**详情标签*/
	@Excel(name = "详情标签", width = 15)
    @ApiModelProperty(value = "详情标签")
    private java.lang.String tagDetails;
	/**已报名人数*/
	@Excel(name = "已报名人数", width = 15)
    @ApiModelProperty(value = "已报名人数")
    private java.lang.Integer applyNum;
	/**行程亮点 */
	@Excel(name = "行程亮点 ", width = 15)
    @ApiModelProperty(value = "行程亮点 ")
    private java.lang.String special;
	/**课程目标*/
	@Excel(name = "课程目标", width = 15)
    @ApiModelProperty(value = "课程目标")
    private java.lang.String target;
	/**详细行程*/
	@Excel(name = "详细行程", width = 15)
    @ApiModelProperty(value = "详细行程")
    private java.lang.String process;
	/**导师联系方式*/
	@Excel(name = "导师联系方式", width = 15)
    @ApiModelProperty(value = "导师联系方式")
    private java.lang.String phone;
	/**是否限时优惠*/
	@Excel(name = "是否限时优惠", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否限时优惠")
    private java.lang.String isDiscount;
	/**是否口碑爆款*/
	@Excel(name = "是否口碑爆款", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否口碑爆款")
    private java.lang.String isHot;
	/**是否新上线路*/
	@Excel(name = "是否新上线路", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否新上线路")
    private java.lang.String isNew;
	/**地点*/
	@Excel(name = "地点", width = 15, dictTable = "studytour_address", dicText = "title", dicCode = "id")
	@Dict(dictTable = "studytour_address", dicText = "title", dicCode = "id")
    @ApiModelProperty(value = "地点")
    private java.lang.String addressId;
	/**适合年龄*/
	@Excel(name = "适合年龄", width = 15, dictTable = "studytour_age", dicText = "title", dicCode = "id")
	@Dict(dictTable = "studytour_age", dicText = "title", dicCode = "id")
    @ApiModelProperty(value = "适合年龄")
    private java.lang.String ageId;
	/**活动时长*/
	@Excel(name = "活动时长", width = 15, dictTable = "studytour_time", dicText = "title", dicCode = "id")
	@Dict(dictTable = "studytour_time", dicText = "title", dicCode = "id")
    @ApiModelProperty(value = "活动时长")
    private java.lang.String timeId;
	/**活动分类*/
	@Excel(name = "活动分类", width = 15, dictTable = "studytour_category", dicText = "title", dicCode = "id")
	@Dict(dictTable = "studytour_category", dicText = "title", dicCode = "id")
    @ApiModelProperty(value = "活动分类")
    private java.lang.String categoryId;
	/**是否下架*/
	@Excel(name = "是否下架", width = 15, dicCode = "is_true")
	@Dict(dicCode = "is_true")
    @ApiModelProperty(value = "是否下架")
    private java.lang.String isDel;

	//活动团期
	@TableField(exist = false)
	@ApiModelProperty(value = "活动团期")
	List<StudytourActivityDate> dateList;

}
