You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
510 B
12 lines
510 B
#encoding=utf-8
|
|
class Ecloud < ActiveRecord::Base
|
|
attr_accessible :applyno, :begintime, :bossorderid, :custcode, :custid, :custname, :custtype, :ecordercode, :endtime,
|
|
:mobile, :opttype, :productcode, :registersource, :string, :trial, :useralias, :userid, :username, :email,
|
|
:effecttime, :operatime
|
|
|
|
has_many :ecloud_services, :dependent => :destroy # 业务列表
|
|
has_many :ecloud_productparas, :dependent => :destroy # 开通参数列表
|
|
|
|
has_one :ecloud_user
|
|
end
|