1 // generated by fakerjsgenerator 2 /// 3 module faked.faker_ne; 4 5 import faked.base; 6 7 8 /// 9 class Faker_ne : Faker { 10 @safe: 11 import std.random; 12 import std.array; 13 import std.format; 14 import std.conv : to; 15 16 /// 17 this(int seed) { 18 super(seed); 19 } 20 21 /// 22 override string phoneNumberFormats() { 23 auto data = [ 24 "##-#######", 25 "+977-#-#######", 26 "+977########'" 27 ]; 28 return this.digitBuild(choice(data, this.rnd)); 29 } 30 31 /// 32 override string addressCityName() { 33 auto data = [ 34 "Bhaktapur", 35 "Biratnagar", 36 "Birendranagar", 37 "Birgunj", 38 "Butwal", 39 "Damak", 40 "Dharan", 41 "Gaur", 42 "Gorkha", 43 "Hetauda", 44 "Itahari", 45 "Janakpur", 46 "Kathmandu", 47 "Lahan", 48 "Nepalgunj", 49 "Pokhara" 50 ]; 51 return choice(data, this.rnd); 52 } 53 54 /// 55 override string addressState() { 56 auto data = [ 57 "Baglung", 58 "Banke", 59 "Bara", 60 "Bardiya", 61 "Bhaktapur", 62 "Bhojupu", 63 "Chitwan", 64 "Dailekh", 65 "Dang", 66 "Dhading", 67 "Dhankuta", 68 "Dhanusa", 69 "Dolakha", 70 "Dolpha", 71 "Gorkha", 72 "Gulmi", 73 "Humla", 74 "Ilam", 75 "Jajarkot", 76 "Jhapa", 77 "Jumla", 78 "Kabhrepalanchok", 79 "Kalikot", 80 "Kapilvastu", 81 "Kaski", 82 "Kathmandu", 83 "Lalitpur", 84 "Lamjung", 85 "Manang", 86 "Mohottari", 87 "Morang", 88 "Mugu", 89 "Mustang", 90 "Myagdi", 91 "Nawalparasi", 92 "Nuwakot", 93 "Palpa", 94 "Parbat", 95 "Parsa", 96 "Ramechhap", 97 "Rauswa", 98 "Rautahat", 99 "Rolpa", 100 "Rupandehi", 101 "Sankhuwasabha", 102 "Sarlahi", 103 "Sindhuli", 104 "Sindhupalchok", 105 "Sunsari", 106 "Surket", 107 "Syangja", 108 "Tanahu", 109 "Terhathum" 110 ]; 111 return choice(data, this.rnd); 112 } 113 114 115 override string addressCity() { 116 final switch(uniform(0, 5, this.rnd)) { 117 case 0: return addressCityPrefix() ~ " " ~ nameFirstName() ~ addressCitySuffix(); 118 case 1: return addressCityPrefix() ~ " " ~ nameFirstName(); 119 case 2: return nameFirstName() ~ addressCitySuffix(); 120 case 3: return nameLastName() ~ addressCitySuffix(); 121 case 4: return addressCityName(); 122 } 123 } 124 125 /// 126 override string addressDefaultCountry() { 127 auto data = [ 128 "Nepal'" 129 ]; 130 return choice(data, this.rnd); 131 } 132 133 134 override string addressStreet() { 135 final switch(uniform(0, 2, this.rnd)) { 136 case 0: return nameFirstName() ~ " " ~ addressStreetSuffix(); 137 case 1: return nameLastName() ~ " " ~ addressStreetSuffix(); 138 } 139 } 140 141 /// 142 override string companySuffix() { 143 auto data = [ 144 "Pvt Ltd", 145 "Group", 146 "Ltd", 147 "Limited'" 148 ]; 149 return choice(data, this.rnd); 150 } 151 152 /// 153 override string internetFreeEmail() { 154 auto data = [ 155 "worldlink.com.np", 156 "gmail.com", 157 "yahoo.com", 158 "hotmail.com'" 159 ]; 160 return choice(data, this.rnd); 161 } 162 163 /// 164 override string internetDomainSuffix() { 165 auto data = [ 166 "np", 167 "com", 168 "info", 169 "net", 170 "org'" 171 ]; 172 return choice(data, this.rnd); 173 } 174 175 /// 176 override string nameLastName() { 177 auto data = [ 178 "Adhikari", 179 "Aryal", 180 "Baral", 181 "Basnet", 182 "Bastola", 183 "Basynat", 184 "Bhandari", 185 "Bhattarai", 186 "Chettri", 187 "Devkota", 188 "Dhakal", 189 "Dongol", 190 "Ghale", 191 "Gurung", 192 "Gyawali", 193 "Hamal", 194 "Jung", 195 "KC", 196 "Kafle", 197 "Karki", 198 "Khadka", 199 "Koirala", 200 "Lama", 201 "Limbu", 202 "Magar", 203 "Maharjan", 204 "Niroula", 205 "Pandey", 206 "Pradhan", 207 "Rana", 208 "Raut", 209 "Sai", 210 "Shai", 211 "Shakya", 212 "Sherpa", 213 "Shrestha", 214 "Subedi", 215 "Tamang", 216 "Thapa" 217 ]; 218 return choice(data, this.rnd); 219 } 220 221 /// 222 override string nameFirstName() { 223 auto data = [ 224 "Aarav", 225 "Ajita", 226 "Amit", 227 "Amita", 228 "Amrit", 229 "Arijit", 230 "Ashmi", 231 "Asmita", 232 "Bibek", 233 "Bijay", 234 "Bikash", 235 "Bina", 236 "Bishal", 237 "Bishnu", 238 "Buddha", 239 "Deepika", 240 "Dipendra", 241 "Gagan", 242 "Ganesh", 243 "Khem", 244 "Krishna", 245 "Laxmi", 246 "Manisha", 247 "Nabin", 248 "Nikita", 249 "Niraj", 250 "Nischal", 251 "Padam", 252 "Pooja", 253 "Prabin", 254 "Prakash", 255 "Prashant", 256 "Prem", 257 "Purna", 258 "Rajendra", 259 "Rajina", 260 "Raju", 261 "Rakesh", 262 "Ranjan", 263 "Ratna", 264 "Sagar", 265 "Sandeep", 266 "Sanjay", 267 "Santosh", 268 "Sarita", 269 "Shilpa", 270 "Shirisha", 271 "Shristi", 272 "Siddhartha", 273 "Subash", 274 "Sumeet", 275 "Sunita", 276 "Suraj", 277 "Susan", 278 "Sushant" 279 ]; 280 return choice(data, this.rnd); 281 } 282 283 }