class Form(AppModelForm): class Meta: model = BattleEventPieceMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) complete_prize_text = AppModelChoiceField(TextMaster, required=False, label=u'コンプリート報酬文言') complete_item_prize_text = AppModelChoiceField(TextMaster, required=False, label=u'コンプリート報酬代替アイテム配布文言')
class Form(AppModelForm): class Meta: model = AreaMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'開催期間') boss = AppModelChoiceField(BossMaster, required=False, label=u'ボス')
class Form(AppModelForm): class Meta: model = SerialCampaignMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'入力可能期間') prize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言')
class Form(AppModelForm): class Meta: model = PresentEveryoneMypageMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'開催期間') textid = AppModelChoiceField(TextMaster, required=False, label=u'プレゼントの文言')
class FormCsc(AppModelForm): class Meta: model = PromotionPrizeMasterCsc exclude = (Defines.MASTER_EDITTIME_COLUMN, ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'開催期間') prize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬テキスト')
class Form(AppModelForm): class Meta: model = ProduceEventScoutStageMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) eventid = AppModelChoiceField(ProduceEventMaster, required=False, label=u'プロデュースベントマスターID') boss = AppModelChoiceField(BossMaster, required=False, label=u'ボス') earlybonus_text = AppModelChoiceField(TextMaster, required=False, label=u'早期クリアボーナス報酬文言')
class Form(AppModelForm): class Meta: model = BattleEventMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'ランキング報酬文言') pointprize_text = AppModelChoiceField(TextMaster, required=False, label=u'名声ポイント報酬文言') beginer_rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'初心者ランキング報酬文言')
class Form(AppModelForm): class Meta: model = PrizeMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) itemid = AppModelChoiceField(ItemMaster, required=False, label=u'アイテムID') cardid = AppModelChoiceField(CardMaster, required=False, label=u'カードID') eventticket_id = AppModelChoiceField(RaidEventMaster, required=False, label=u'レイドイベントID')
class Form(AppModelForm): class Meta: model = ReprintTicketTradeShopMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) card_id = AppModelChoiceField(CardMaster, required=False, label=u'カードID') reprintticket_trade_text = AppModelChoiceField(TextMaster, required=False, label=u'復刻チケット交換文言') schedule_id = AppModelChoiceField(ScheduleMaster, required=False, label=u'期間')
class Form(AppModelForm): class Meta: model = ScoutEventStageMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) eventid = AppModelChoiceField(ScoutEventMaster, required=False, label=u'スカウトイベントマスターID') boss = AppModelChoiceField(BossMaster, required=False, label=u'ボス') movie = AppModelChoiceField(EventMovieMaster, required=False, label=u'イベント動画ID') earlybonus_text = AppModelChoiceField(TextMaster, required=False, label=u'早期クリアボーナス報酬文言')
class Form(AppModelForm): class Meta: model = TreasureTableSilverMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'期間')
class Form(AppModelForm): class Meta: model = LevelUpBonusMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) levelupbonus_text = AppModelChoiceField(TextMaster, required=False, label=u'レベルアップ達成ボーナス報酬文言')
class Form(AppModelForm): class Meta: model = BattleEventPresentContentMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) prize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言')
class Form(AppModelForm): class Meta: model = RaidEventRecipeMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) eventid = AppModelChoiceField(RaidEventMaster, required=False, label=u'イベントID')
class Form(AppModelForm): class Meta: model = LoginBonusTimeLimitedMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, ) textid = AppModelChoiceField(TextMaster, required=False, label=u'報酬テキストID')
class FormBase(AppModelForm): schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'開催期間') def _valid_primary_key(self): return PromotionConfigKoihime.SINGLE_ID
class Form(AppModelForm): class Meta: model = TradeShopItemMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) pt_change_text = AppModelChoiceField(TextMaster, required=False, label=u'Pt交換文言')
class Form(AppModelForm): class Meta(object): model = ProduceCastMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) event_id = AppModelChoiceField(ProduceEventMaster, required=False, label=u'イベントID') produce_cast = AppModelChoiceField(CardMaster, required=False, label=u'キャストID') complete_prizetext = AppModelChoiceField(TextMaster, required=False, label=u'コンプリート時にプレゼントする際の文言') lvprize_text = AppModelChoiceField(TextMaster, required=False, label=u'教育Lv達成報酬文言')
class Form(AppModelForm): class Meta(object): model = ProduceEventMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言') pointprize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言') useitem = AppModelChoiceField(ItemMaster, required=False, label=u'超接客で使用するアイテムID') changeitem = AppModelChoiceField(ItemMaster, required=False, label=u'専用アイテムと交換するためのアイテムID')
class Form(AppModelForm): class Meta: model = MemoriesMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) cardid = AppModelChoiceField(CardMaster, required=False, label=u'カードのID')
class Form(AppModelForm): class Meta: model = ScoutEventMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'ランキング報酬文言') pointprize_text = AppModelChoiceField(TextMaster, required=False, label=u'イベントポイント報酬文言') movie_op = AppModelChoiceField(EventMovieMaster, required=False, label=u'イベント動画ID') beginer_rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'初心者ランキング報酬文言')
class Form(AppModelForm): class Meta: model = RaidEventMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'ランキング報酬文言') destroyprize_text = AppModelChoiceField(TextMaster, required=False, label=u'討伐回数報酬文言') joinprize_text = AppModelChoiceField(TextMaster, required=False, label=u'イベント開始報酬文言') beginer_rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'初心者ランキング報酬文言')
class Form(AppModelForm): class Meta: model = GachaSeatTableMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, 'premium', ) seatid = AppModelChoiceField(GachaSeatMaster, required=False, label=u'シートID')
class Form(AppModelForm): class Meta(object): model = CabaClubRankEventMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) rankingprize_text = AppModelChoiceField(TextMaster, required=False, label=u'ランキング報酬文言')
class Form(AppModelForm): class Meta: model = PresentEveryoneLoginBonusMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) textid = AppModelChoiceField(TextMaster, required=False, label=u'プレゼントの文言')
class Form(AppModelForm): class Meta: model = RankingGachaMaster exclude = (Defines.MASTER_EDITTIME_COLUMN, ) id = AppModelChoiceField(GachaBoxMaster, required=False, label=u'ID(BoxID)') singleprize_text = AppModelChoiceField(TextMaster, required=False, label=u'単発ランキング報酬文言') totalprize_text = AppModelChoiceField(TextMaster, required=False, label=u'累計ランキング報酬文言') totalprize_text = AppModelChoiceField(TextMaster, required=False, label=u'累計ランキング報酬文言') totalprize_text = AppModelChoiceField(TextMaster, required=False, label=u'累計ランキング報酬文言') wholeprize_text = AppModelChoiceField(TextMaster, required=False, label=u'総計pt報酬文言') wholewinprize_text = AppModelChoiceField(TextMaster, required=False, label=u'総計pt勝利報酬文言')
class Form(AppModelForm): class Meta: model = ScoutEventPresentPrizeMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, 'id', ) eventid = AppModelChoiceField(ScoutEventMaster, required=False, label=u'イベントマスターID') prize_text = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言') def _valid_primary_key(self): eventid = int(self.cleaned_data.get('eventid')) number = int(self.cleaned_data.get('number')) if eventid <= 0: raise ValidationError(u'eventidは1以上を指定して下さい') elif number < 0: raise ValidationError(u'numberは0以上を指定して下さい') return ScoutEventPresentPrizeMaster.makeID(eventid, number)
class Form(AppModelForm): class Meta: model = ComeBackCampaignMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, 'premium', ) prizetext = AppModelChoiceField(TextMaster, required=False, label=u'報酬文言')
class Form(AppModelForm): class Meta: model = CardMasterView exclude = ( Defines.MASTER_EDITTIME_COLUMN, 'albumhklevel', ) skill = AppModelChoiceField(SkillMaster, required=False, label=u'サービス(スキル)')
class Form(AppModelForm): class Meta: model = GachaMaster exclude = ( Defines.MASTER_EDITTIME_COLUMN, 'premium', ) schedule = AppModelChoiceField(ScheduleMaster, required=False, label=u'期間') boxid = AppModelChoiceField(GachaBoxMaster, required=False, label=u'BoxID') rarity_fixed_boxid = AppModelChoiceField(GachaBoxMaster, required=False, label=u'レアリティ確定の際に使用するBoxID') stepid = AppModelChoiceField(GachaStepupMaster, required=False, label=u'StepID') stepsid = AppModelChoiceField(GachaMaster, required=False, label=u'ステップ開始ガチャID') seattableid = AppModelChoiceField(GachaSeatTableMaster, required=False, label=u'シートテーブルID') trade_shop_master_id = AppModelChoiceField(TradeShopMaster, required=False, label=u'TradeShopMasetrID') gacha_explain_text_id = AppModelChoiceField(GachaExplainMaster, required=False, label=u'GachaExplainTextID')