package com.pig4cloud.pigx.app.api.entity.as;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 媒体平台
 *
 * @author amigo
 * @date 2023-07
 */
@Data
@TableName("as_platform")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "媒体平台表")
public class AsPlatform extends Model<AsPlatform> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "ID")
	private Long id;

	@Schema(description = "平台名称")
	private String platformName;
	@Schema(description = "平台类型 0：全部")
	private Integer platformType;
	@Schema(description = "应用图标")
	private String icon;
	@Schema(description = "公司")
	private String company;
	@Schema(description = "平台网站")
	private String website;
	@Schema(description = "sort")
	private String sortOrder;

	@Schema(description = "产品code: 类型_名称_id")
	private String productCode;

}
