-
フィールド名称
Declaration
Objective-C
@property (nonatomic, nullable) NSString *field_name;
Swift
var field_name: String? { get set }
-
表示ラベル
Declaration
Objective-C
@property (nonatomic, nullable) NSString *label_str;
Swift
var label_str: String? { get set }
-
データタイプID
Declaration
Objective-C
@property (nonatomic, nullable) NSString *data_type_id;
Swift
var data_type_id: String? { get set }
-
表示タイプID
Declaration
Objective-C
@property (nonatomic, nullable) NSString *display_type;
Swift
var display_type: String? { get set }
-
必須項目
Declaration
Objective-C
@property (nonatomic) BOOL is_required_flg;
Swift
var is_required_flg: Bool { get set }
-
最小文字数
Declaration
Objective-C
@property (nonatomic, nullable) NSNumber *min_length;
Swift
var min_length: NSNumber? { get set }
-
最大文字数
Declaration
Objective-C
@property (nonatomic, nullable) NSNumber *max_length;
Swift
var max_length: NSNumber? { get set }
-
読み込み専用フラグ
Declaration
Objective-C
@property (nonatomic, nullable) NSString *read_only_flg;
Swift
var read_only_flg: String? { get set }
-
ヘルプテキスト
Declaration
Objective-C
@property (nonatomic, nullable) NSString *help_txt;
Swift
var help_txt: String? { get set }
-
項目表示順序
Declaration
Objective-C
@property (nonatomic, nullable) NSNumber *sort_no;
Swift
var sort_no: NSNumber? { get set }
-
非表示フラグ
Declaration
Objective-C
@property (nonatomic) BOOL not_visible_flg;
Swift
var not_visible_flg: Bool { get set }
-
自由項目
Declaration
Objective-C
@property (nonatomic, nullable) NSDictionary<NSString *, id> *attributes;
Swift
var attributes: [String : Any]? { get set }
-
指定イニシャライザ
Declaration
Objective-C
+ (nonnull instancetype)initWithResultSet:(nonnull NSDictionary *)rs fieldName:(nonnull NSString *)fieldName;
Swift
class func initWithResultSet(_ rs: [AnyHashable : Any], fieldName: String) -> Self
Parameters
rs
変数名に対応したKeyを持つ連想配列
Return Value
id 初期化を行ったモデル情報