class ConstCommon {
  static int kExpiredTime = 518400000; //6* 24 * 60 * 60 * 1000; 6days
  static int kFileSize = 1000000; //1M = 1000.000 bytes
  static int kMaxAgeCache = 7; // 7days
  static const String baseUrl = "https://tpf.aztrace.vn";
  static const String baseImageUrl = "https://tpf.aztrace.vn/upload/";
  static RegExp regExpDecimal = RegExp("[0-9.]");

  static const String apiDetailNursery = "api/activity-nursery";
  static const String apiDetailCropStatus = "api/activity-crop-status";
  static const String apiDetailEnvUpdate = "api/activity-environment-update";
  static const String apiDetailDisease = "api/activity-pests-investigation";
  static const String apiDetailUseWater = "api/activity-water-usage";
  static const String apiDetailHarvest = "api/activity-harvest";
  static const String apiDetailPacking = "api/activity-packing";
  static const String apiDetailSell = "api/activity-sell";
  static const String apiDetailEnd = "api/activity-end";
  static const String apiDetailOther = "api/activity-other";
  static const String apiDetailPlant = "api/activity-planting";
  static const String apiDetailDung = "api/activity-manuring";
  static const String apiDetailSpraying = "api/activity-spraying";
  static const String apiDetailHarvestProcess = "api/activity-process";

  //nursery
  static const String paramsActionNursery = "activityNursery";
  static const String apiUpdateNursery = "api/updateNursery";
  static const String apiAddNursery = "api/createNursery";
  //crop_status
  static const String paramsActionCropStatus = "activityCrop";
  static const String apiUpdateCropStatus = "api/updateStatusCrop";
  static const String apiAddCropStatus = "api/createStatusCrop";
  //Environment Update
  static const String paramsActionEnvUpdate = "activityEnv";
  static const String apiUpdateEnvUpdate = "api/updateEnv";
  static const String apiAddEnvUpdate = "api/createEnv";
  //Disease
  static const String paramsActionDisease = "activityPestsInvestigation";
  static const String apiUpdateDisease = "api/updatePestsInvestigation";
  static const String apiAddDisease = "api/createPestsInvestigation";
  //Use water
  static const String paramsActionUseWater = "activityWaters";
  static const String apiUpdateUseWater = "api/updateWaters";
  static const String apiAddUserWater = "api/createWaters";
  //Harvest
  static const String paramsActionHarvest = "activityHarvest";
  static const String apiUpdateHarvest = "api/updateActivityHarvest";
  static const String apiAddHarvest = "api/createActivityHarvest";
  //Packing
  static const String paramsActionPacking = "activityPacking";
  static const String apiUpdatePacking = "api/updateActivityPacking";
  static const String apiAddPacking = "api/createActivityPacking";
  //Sell
  static const String paramsActionSell = "activitySell";
  static const String apiUpdateSell = "api/updateActivitySell";
  static const String apiAddSell = "api/createActivitySell";
  //End
  static const String paramsActionEnd = "activityEnd";
  static const String apiUpdateEnd = "api/updateActivityEnd";
  static const String apiAddEnd = "api/createActivityEnd";
  //Other
  static const String paramsActionOther = "activityOther";
  static const String apiUpdateOther = "api/updateActivityOther";
  static const String apiAddOther = "api/createActivityOther";
  //Plant
  static const String paramsActionPlant = "activityPlanting";
  static const String apiUpdatePlant = "api/updatePlanting";
  static const String apiAddPlant = "api/createPlanting";
  //Dung
  static const String paramsActionDung = "activityManuring";
  static const String apiUpdateDung = "api/updateManuring";
  static const String apiAddDung = "api/createManuring";
  //Spraying
  static const String paramsActionSpraying = "activitySpraying";
  static const String apiUpdateSpraying = "api/updateSpraying";
  static const String apiAddSpraying = "api/createSpraying";
  //Harvest Process
  static const String paramsActionHarvestProcess = "activityProcess";
  static const String apiUpdateHarvestProcess = "api/updateActivityProcess";
  static const String apiAddHarvestProcess = "api/createActivityProcess";

  static const String supplyTypeSeed = "GIONG";
  static const String supplyTypeDung = "PHANBON";
  static const String supplyTypeSubStrate = "GIATHE";
  static const String supplyTypeProtectPlant = "THUOCBVTV";
  static const String supplyTypeAll = "ALL";
}

enum CRUDStatus { unknown, add, edit, delete }

enum LocationType { country, province, district, ward }
