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_user_sub")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "账号订阅表")
public class AsUserSub extends Model<AsUserSub> {
	private static final long serialVersionUID = 1L;

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

	@Schema(description = "platformId")
	private Integer platformId;

	@Schema(description = "capacity")
	private Integer capacity;

	@Schema(description = "capacity_loaded")
	private Integer capacityLoaded;

	@Schema(description = "plan_id")
	private Integer planId;
	@Schema(description = "user_id")
	private Integer userId;
	@Schema(description = "main_account")
	private Integer mainAccount;
	@Schema(description = "region")
	private String region;
	@Schema(description = "target_ip")
	private String targetIp;
	@Schema(description = "remark")
	private Integer remark;
}
