package com.qiuguo.iot.data.entity.third;
import org.hswebframework.ezorm.rdb.mapping.annotation.Comment;
import org.hswebframework.web.crud.annotation.EnableEntityEvent;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import javax.persistence.Column;
import javax.persistence.Table;import lombok.Data;
import java.util.Date;
/**
* <p>
* </p>*第三方开发者信息配置表
* @author wulin
* @since 2023-08-08
*/

@Data
@Comment("第三方开发者信息配置表")
@Table(name = "third_config_info")
@EnableEntityEvent
public class ThirdConfigInfoEntity  extends GenericEntity<Long> {
    @Comment("id")
    @Column(name = "id", length = 11, nullable = false, unique = true)
    private Long id;

    @Comment("是否删除：0 否 1 删除")
    @Column(name = "is_delete", nullable = false)
    private Integer isDelete;

    @Comment("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @Comment("修改时间")
    @Column(name = "modify_time")
    private Date modifyTime;

    @Comment("app ID")
    @Column(name = "app_id", length = 100, nullable = false)
    private Long appId;

    @Comment("app key")
    @Column(name = "app_key", length = 100)
    private String appKey;

    @Comment("app安全密钥")
    @Column(name = "app_security", length = 255, nullable = false)
    private String appSecurity;

    @Comment("开放平台名称")
    @Column(name = "open_name", length = 255, nullable = false)
    private String openName;

    @Comment("开放平台公司")
    @Column(name = "open_company", length = 255, nullable = false)
    private String openCompany;

    @Comment("开放类型：0 语言模型 1：音乐 2 有声读物 3 天气 4 导航")
    @Column(name = "open_type", nullable = false)
    private Integer openType;

    @Comment("沙盒调用地址")
    @Column(name = "sandbox_url", length = 255)
    private String sandboxUrl;

    @Comment("线上环境地址")
    @Column(name = "product_url", length = 255)
    private String productUrl;

}