# BookingEmailTarget.java

    package cloud.wconnect.rateshop.entity.booking;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * booking 收件人、抄送人配置
     * </p>
     *
     * @author yyt
     * @since 2024-07-22
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("booking_email_target")
    public class BookingEmailTarget implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产id
         */
        private Integer propertyId;

        /**
         * 邮件配置id
         */
        private Integer configId;

        /**
         * 目标类型(1:To,2:CC)
         */
        private Boolean targetType;

        /**
         * 来源1：w-connect 2: manual 3: user group
         */
        private Boolean source;

        /**
         * id。来源是manual时，此值为0
         */
        private Integer identityId;

        /**
         * 姓名
         */
        private String identityName;

        /**
         * 邮箱地址
         */
        private String email;
    }