from doctors.models import *

def create():
    doctor_a = Doctor.objects.create(
        id='93191810-7a02-4df0-a352-d2e8a146c112',
        name="陳大文", 
        address="九龍觀塘XX街1號XX大廈1A", 
        district="kwun-tong", 
        phone_number="21234567"
    )
    doctor_b = Doctor.objects.create(
        id='37fcb0c2-6e31-4819-80a1-89a98d0b9b76',
        name="黃大文", 
        address="新界粉嶺XX道33號", 
        district="fanling", 
        phone_number="22234567"
    )
    doctor_c = Doctor.objects.create(
        id='8332abf4-9b22-4e99-aaf9-df5dcfc3cc4b',
        name="李大文", 
        address="九龍旺角XX道3號XX中心十二樓", 
        district="mongkok", 
        phone_number="23234567"
    )
    doctor_d = Doctor.objects.create(
        id='f5a98247-aea2-49df-9bcd-e3de98b8fe51',
        name="梁大文", 
        address="新界荃灣XX道100號XX商場2樓2001號舖", 
        district="tsuen-wan",
        phone_number="24234567"
    )
    doctor_e = Doctor.objects.create(
        id='0316d9d5-295f-4892-9797-a316553e74d5',
        name="張大文", 
        address="香港中環XX街9號", 
        district="central", 
        phone_number="25234567"
    )
    doctor_f = Doctor.objects.create(
        id='d0cd68b1-1329-45a4-93c3-410ee4815f00',
        name="林大文", 
        address="九龍觀塘XX街99號XX大廈12C", 
        district="kwun-tong", 
        phone_number="26234567"
    )
    doctor_g = Doctor.objects.create(
        id='066210c7-f2e9-43f0-8ff9-4e660bcfee67',
        name="鄭大文", 
        address="香港上環XX街2號XX大廈10樓", 
        district="sheung-wan", 
        phone_number="27234567"
    )

    dentistry = Category.objects.create(query_name="dentistry", display_name="牙科", doctor=doctor_a)
    pediatrics = Category.objects.create(query_name="pediatrics", display_name="兒科", doctor=doctor_b)
    chinese_medicine = Category.objects.create(query_name="chinese-medicine", display_name="中醫", doctor=doctor_c)
    bone_setting = Category.objects.create(query_name="bone-setting", display_name="跌打", doctor=doctor_c)
    acupuncture = Category.objects.create(query_name="acupuncture", display_name="針灸", doctor=doctor_c)
    psychiatric = Category.objects.create(query_name="psychiatric", display_name="精神科", doctor=doctor_d)
    opthalmology = Category.objects.create(query_name="ophthalmology", display_name="眼科", doctor=doctor_e)
    dermatology = Category.objects.create(query_name="dermatology", display_name="皮膚科", doctor=doctor_f)
    
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_a)
    Language.objects.create(query_name="english", display_name="英語", doctor=doctor_a)
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_b)
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_c)
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_d)
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_e)
    Language.objects.create(query_name="cantonese", display_name="廣東話", doctor=doctor_f)
    Language.objects.create(query_name="english", display_name="英語", doctor=doctor_f)

    Service.objects.create(item="洗牙", price=100, remarks=None, category=dentistry)
    Service.objects.create(item="診金", price=130, remarks=None, category=pediatrics)
    Service.objects.create(item="診金", price=120, remarks="包兩日基本中草藥", category=chinese_medicine)
    Service.objects.create(item="跌打診金", price=200, remarks="不包藥物", category=bone_setting)
    Service.objects.create(item="針灸診金", price=180, remarks="不包藥物", category=acupuncture)
    Service.objects.create(item="診金", price=350, remarks="包兩日基本藥物", category=psychiatric)
    Service.objects.create(item="診金", price=410, remarks=None, category=opthalmology)
    Service.objects.create(item="診金", price=280, remarks="不包藥物", category=dermatology)
    
    OpeningHour.objects.create(doctor=doctor_a, details="星期一至五:0900-1800")
    OpeningHour.objects.create(doctor=doctor_b, details="星期一至五:0900-1200,1500-1900;星期六:0900-1230")
    OpeningHour.objects.create(doctor=doctor_c, details="星期一至六:0900-1900;星期日:0900-1230")
    OpeningHour.objects.create(doctor=doctor_d, details="星期一至五:0900-1700")
    OpeningHour.objects.create(doctor=doctor_e, details="星期一至五:0900-2000;星期六:0900-1530")
    OpeningHour.objects.create(doctor=doctor_f, details="星期一至五:0900-1830")

