[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Counting money
Alexey Parshin wrote:
> We currently have 1-1 relations between course and class.
WHAT???
> So, the money can be distributed directly from class. I'm asking,
> because if we have more than two source/destination types (more than
> person and class), then it requires different structure for the
> tables. (I'm still thinking on the best implementation).
>
> 2007/6/8, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>>:
>
> Course accounts are needed, since course authors will be drawing money
> from them.
> There is also class->course transaction possibility.
>
> Alexey Parshin wrote:
> > First of all, I needed to confirm the 'account' entity.
> >
> > Now, as far as I see, these transactions always include to
> parties: a
> > person account and a class account.
> > A person may be one of: author, teacher, student, admin, translator,
> > or anonymous (for donations).
> > I'm not sure about course, however. I need to understand, if we need
> > other source/destination accounts (besides person and class) and
> what for.
> >
> > As soon as we have account system, the stored procs handling the
> money
> > to/from these accounts can use transaction rules.
> >
> > 2007/6/7, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>
> > <mailto: ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>>>:
> >
> > As far as sources/destinations go, I could also think
> > of translators as destination (not sure we need it within
> > the system, but probably not much extra cost) and also
> > there is one other source - generic donation (could be even
> > from outside person that doesn't sign up to anything at all).
> >
> > Oh, and people might want to donate to Total Knowledge,
> > for writing such a wonderful system ;-) Also not sure if we
> > need to integrate that into UU itself, or just link to some
> > separate page for that.
> >
> > Now, on top of that all, we need to find a way to define
> > distribution rules/procedures for shared accounts (class,
> > course)
> >
> > Alexey Parshin wrote:
> > > Gentlemen,
> > >
> > > Since we gonna have a money traffic (well, at least for
> closed
> > > server), we need to define - what are the possible sources and
> > > destinations of these money.
> > >
> > > I can think of few sources:
> > >
> > > 1) Students are paying for class:
> > > source: a student, destination: a class account
> > >
> > > 2) Teachers are paid for teaching:
> > > source: a class account, destination: a teacher
> > >
> > > 3) Authors are paid for the authorship:
> > > source: a class account, destination: an author
> > >
> > > How does that sounds for you? This creates an entity
> 'account'..
> > >
> > > --
> > > Alexey Parshin,
> > > http://www.sptk.net
> >
> > --
> > Ilya A. Volynets-Evenbakh
> > Total Knowledge. CTO
> > http://www.total-knowledge.com
> >
> >
> >
> >
> > --
> > Alexey Parshin,
> > http://www.sptk.net
>
> --
> Ilya A. Volynets-Evenbakh
> Total Knowledge. CTO
> http://www.total-knowledge.com
>
>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net
--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com