| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "{{%REG_INFO_AUDIT}}".
- *
- * @property string $ID
- * @property string $USER_ID 会员ID
- * @property string $REG_TYPE 注册类型
- * @property string $REG_NAME 注册名称
- * @property string $CREDIT_CODE 统一社会信用代码
- * @property string $PREMISES 经营场所
- * @property string $LEGAL_PERSON 法人
- * @property int $REG_EXPIRES 注册有效期
- * @property int $AUDIT_STATUS 审核状态
- * @property string $CREATE_ADMIN 创建管理员
- * @property string $AUDIT_ADMIN 审核管理员
- * @property string $CREATE_REMARK 申请备注
- * @property string $AUDIT_REMARK 审核备注
- * @property int $CREATE_PERIOD 创建期数
- * @property int $AUDIT_PERIOD 审核期数
- * @property int $CREATED_AT 创建时间
- * @property int $AUDITED_AT 审核时间
- */
- class RegInfoAudit extends \common\components\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%REG_INFO_AUDIT}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['USER_ID', 'REG_TYPE', 'REG_NAME', 'CREDIT_CODE', 'REG_EXPIRES', 'CREATE_ADMIN', 'CREATED_AT'], 'required'],
- [['REG_EXPIRES', 'AUDIT_STATUS', 'CREATE_PERIOD', 'AUDIT_PERIOD', 'CREATED_AT', 'AUDITED_AT'], 'integer'],
- [['ID', 'USER_ID', 'REG_TYPE', 'CREATE_ADMIN', 'AUDIT_ADMIN'], 'string', 'max' => 32],
- [['REG_NAME', 'CREDIT_CODE', 'PREMISES', 'LEGAL_PERSON'], 'string', 'max' => 255],
- [['CREATE_REMARK', 'AUDIT_REMARK'], 'string', 'max' => 4000],
- [['ID'], 'unique'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'USER_ID' => 'User ID',
- 'REG_TYPE' => 'Reg Type',
- 'REG_NAME' => 'Reg Name',
- 'CREDIT_CODE' => 'Credit Code',
- 'PREMISES' => 'Premises',
- 'LEGAL_PERSON' => 'Legal Person',
- 'REG_EXPIRES' => 'Reg Expires',
- 'AUDIT_STATUS' => 'Audit Status',
- 'CREATE_ADMIN' => 'Create Admin',
- 'AUDIT_ADMIN' => 'Audit Admin',
- 'CREATE_REMARK' => 'Create Remark',
- 'AUDIT_REMARK' => 'Audit Remark',
- 'CREATE_PERIOD' => 'Create Period',
- 'AUDIT_PERIOD' => 'Audit Period',
- 'CREATED_AT' => 'Created At',
- 'AUDITED_AT' => 'Audited At',
- ];
- }
- }
|