#coding=utf-8

FEMALE = 1
MALE = 2
GENDER_CHOICES = (
    (FEMALE, u'女士'),
    (MALE, u'先生'),
)
GENDER_MAPPING = {u'女士':FEMALE,
                  u'先生':MALE}

MIDDLE_SCHOOLE = 1
HEIGHT_SCHOOLE = 2
TECHNICAL_SECONDARY_SCHOOL = 3
JUNIOR_COLLEGE = 4
REGULAR_COLLEGE_COURSE = 5
MASTERATE = 6
DOCTOR = 7
EDUCATION_CHOICES = (
    (MIDDLE_SCHOOLE, u'初中'),
    (HEIGHT_SCHOOLE, u'高中'),
    (TECHNICAL_SECONDARY_SCHOOL, u'中专'),
    (JUNIOR_COLLEGE, u'大专'),
    (REGULAR_COLLEGE_COURSE, u'本科'),
    (MASTERATE, u'硕士'),
    (DOCTOR, u'博士'),
)

DEFAULT = 0
PASS = 1
CHECKING = 2
CHECK_STATUS_CHOICES = (
    (DEFAULT, u'待审核'),
    (PASS, u'已审核'),
    (CHECKING, u'审核中'),
)
CHECK_STATUS_ICONS = (
    (DEFAULT, u'待审核', 'icon-normal'),
    (PASS, u'已审核', 'icon-pass'),
    (CHECKING, u'审核中', 'icon-normal'),
)

SMS_PRODUCT_SALE = 29
SMS_PRODUCT_NOTIFY = 30
SMS_PRODUCT_CHOICES = (
    (SMS_PRODUCT_SALE, u'营销短信'),
    (SMS_PRODUCT_NOTIFY, u'通知短信'),
)

INVOICE_NONE = 0
INVOICE_NORMAL = 1
INVOICE_VAT = 2
INVOICE_CHIOCES = (
    (INVOICE_NONE, u'无发票'),
    (INVOICE_NORMAL, u'普通发票'),
    (INVOICE_VAT, u'增值税发票'),
)

HOMEUSE = 1
BUSINESS = 2
TAXI = 3
VEHICLE_USE_CHIOCES = (
    (HOMEUSE, u'私家车'),
    (BUSINESS, u'公务车'),
    (TAXI, u'营运车'),
)
VEHICLE_USE_MAPPING = {u'私家车':HOMEUSE,
                       u'公务车':BUSINESS,
                       u'营运车':TAXI}

STOCK_MODE_MA = 0
STOCK_MODE_FIFO = 1
STOCK_MODE_CHIOCES = (
    (STOCK_MODE_MA, u'移动平均'),
    (STOCK_MODE_FIFO, u'先进先出'),
)