DiseaseObservation class Null safety Models
질병관찰 모델입니다.
- Annotations
Constructors
- DiseaseObservation({int id = 0, Farm? farm, Cow? cow, int dayAfterBirth = 0, int dehydration = 0, int feces = 0, int respiAndCough = 0, int snot = 0, int eye = 0, int appearance = 0, int ear = 0, int sensorPosition = 0, double temperature = 0, int bcs = 0, String memo = "", DateTime? createdAt})
-
DiseaseObservation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- appearance ↔ int
-
겉모습 활력
@JsonKey(name: 'appearance'), read / write
- bcs ↔ int
-
@JsonKey(name: 'bcs'), read / write
- cow ↔ Cow?
-
소 아이디
@JsonKey(name: 'cow_id', fromJson: cowFromCowId, toJson: cowToCowId), read / write
- createdAt ↔ DateTime?
-
@JsonKey(name: 'created_at', fromJson: dateTimeFromJson, toJson: dateTimeToJson), read / write
- dayAfterBirth ↔ int
-
일령
@JsonKey(ignore: true), read / write
- dehydration ↔ int
-
탈수
@JsonKey(name: 'dehydration'), read / write
- digestiveScore → int
-
각 점수들의 공식과 기준은 "송아지 건강상태 관찰기준" 이미지에 있습니다.
또는 john님께 여쭈어보시면 됩니다.
소화기점수를 계산합니다
read-only
- ear ↔ int
-
귀
@JsonKey(name: 'ear'), read / write
- eye ↔ int
-
눈
@JsonKey(name: 'eye'), read / write
- farm ↔ Farm?
-
농장 아이디
@JsonKey(name: 'farm_id', fromJson: farmFromFarmId, toJson: farmToFarmId), read / write
- feces ↔ int
-
뷴
@JsonKey(name: 'feces'), read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ int
-
아이디
@JsonKey(name: 'id'), read / write
- memo ↔ String
-
@JsonKey(name: 'memo'), read / write
- respiAndCough ↔ int
-
호흡수 및 기침
@JsonKey(name: 'respi_and_cough'), read / write
- respiScore → int
-
호흡기 점수를 계산합니다.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sensorPosition ↔ int
-
센서 위치
@JsonKey(name: 'sensor_position'), read / write
- snot ↔ int
-
콧물
@JsonKey(name: 'snot'), read / write
- temperature ↔ double
-
심부항문체온
@JsonKey(name: 'temperature'), read / write
- temperatureScore → int
-
심부항문 체온 점수를 계산합니다.
read-only
- totalScore → int
-
종합 점수
read-only
Methods
-
isValidate(
) → bool - 값이 모두 정상적으로 입력이 되었는지 확인합니다.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited