LabelBean.ets
443 Bytes
import { ItemBean } from './ItemBean';
import { LabelDTO } from './LabelDTO';
@Observed
export class LabelBean extends ItemBean {
icon?: string;
defaultTextColor?: string;
label: string;
title: string;
subTitle?: string;
description?: string;
bottomColor?: string;
isShow?: boolean;
constructor(dto: LabelDTO) {
super(dto);
this.label = dto.label;
this.title = dto.title;
this.subTitle = dto.subTitle;
}
}