package com.zhongshu.card.client.model.devices.deviceProduct;

import com.zhongshu.card.client.model.base.SuperModel;
import com.zhongshu.card.client.model.org.OrganizationSimpleModel;
import com.zhongshu.card.client.type.DataState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author TRX
 * @date 2025/1/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceProductModel extends SuperModel {

    @Schema(description = "产品名称")
    private String name;

    @Schema(description = "编码/规则")
    private String code;

    @Schema(description = "设备数量")
    private Long number = 0L;

    @Schema(description = "服务数量")
    private Long serviceNumber = 0L;

    @Schema(description = "所属机构")
    private OrganizationSimpleModel organization;

    @Schema(description = "所属机构oid")
    private String beLongOid;

    @Schema(description = "所属机构name")
    private String beLongName;

    @Schema(description = "交易模式")
    private DataState transaction;

    @Schema(description = "设备多订单模式")
    private DataState multipleOrders;

}
